version 1.2, 2003/08/22 16:08:23 |
version 1.3, 2005/07/03 08:27:38 |
|
|
\section{$BA0=q$-(B} |
\section{$BA0=q$-(B} |
*/ |
*/ |
/* OpenXM: OpenXM/src/kxx/oxweave.c,v 1.7 2001/05/06 07:53:01 takayama Exp |
/* OpenXM: OpenXM/src/kxx/oxweave.c,v 1.7 2001/05/06 07:53:01 takayama Exp |
$OpenXM: OpenXM/src/util/oxweave.c,v 1.1 2002/04/05 01:12:09 takayama Exp $ |
$OpenXM: OpenXM/src/util/oxweave.c,v 1.2 2003/08/22 16:08:23 ohara Exp $ |
*/ |
*/ |
#include <stdio.h> |
#include <stdio.h> |
|
#include <stdlib.h> |
|
#include <string.h> |
|
|
|
void usage(); |
|
void findEndTag(int tagc,char *tagv[],int rule); |
|
void skipToEndTag(int tagc,char *tagv[],int rule); |
|
|
/* Modify here to change the begin tag and EndComment. Less than 9 characters. |
/* Modify here to change the begin tag and EndComment. Less than 9 characters. |
*/ |
*/ |
char *BeginTag0="/*\x026"; /* 0x26 = & */ |
char *BeginTag0="/*\x026"; /* 0x26 = & */ |
Line 59 int OutputNoTaggedSegment = 0; |
|
Line 65 int OutputNoTaggedSegment = 0; |
|
int OutputtingTaggedSegment = 0; |
int OutputtingTaggedSegment = 0; |
int BeginVerbatim = 0; |
int BeginVerbatim = 0; |
|
|
|
|
/*&jp \section{$B%W%m%0%i%`K\BN(B} */ |
/*&jp \section{$B%W%m%0%i%`K\BN(B} */ |
main(int argc,char *argv[]) { |
main(int argc,char *argv[]) { |
extern char *BeginTag; |
|
extern char *EndComment0; |
extern char *EndComment0; |
extern char *EndComment1; |
extern char *EndComment1; |
extern int Plain; |
extern int Plain; |
int c; |
|
int tagc,i; |
int tagc,i; |
char *tagv[VSIZE]; |
char *tagv[VSIZE]; |
int tagc2; |
int tagc2; |
Line 145 main(int argc,char *argv[]) { |
|
Line 148 main(int argc,char *argv[]) { |
|
} |
} |
|
|
/*&jp \noindent $B<!$N4X?t$OMxMQK!$rI=<($9$k(B. */ |
/*&jp \noindent $B<!$N4X?t$OMxMQK!$rI=<($9$k(B. */ |
usage() { |
void usage() { |
#include "oxweaveUsage.h" |
#include "oxweaveUsage.h" |
} |
} |
|
|
Line 249 findNextTag(int tagc, char *tagv[],int tagc2,char *tag |
|
Line 252 findNextTag(int tagc, char *tagv[],int tagc2,char *tag |
|
( $B$3$l$O(B, EndComment0 $B$NCM$rJQ$($k$HJQ992DG=(B. ) |
( $B$3$l$O(B, EndComment0 $B$NCM$rJQ$($k$HJQ992DG=(B. ) |
{\tt / /} $B$G;O$^$k>l9g$O(B, 0xa $B$,$*$o$j(B. |
{\tt / /} $B$G;O$^$k>l9g$O(B, 0xa $B$,$*$o$j(B. |
*/ |
*/ |
findEndTag(int tagc,char *tagv[],int rule) { |
void findEndTag(int tagc,char *tagv[],int rule) { |
int i; |
int i; |
int c; |
int c; |
/* We are in the state 1. */ |
/* We are in the state 1. */ |
Line 285 findEndTag(int tagc,char *tagv[],int rule) { |
|
Line 288 findEndTag(int tagc,char *tagv[],int rule) { |
|
irregularExit(); |
irregularExit(); |
} |
} |
|
|
skipToEndTag(int tagc,char *tagv[],int rule) { |
void skipToEndTag(int tagc,char *tagv[],int rule) { |
int i; |
int i; |
int c; |
int c; |
extern char *EndComment0; |
extern char *EndComment0; |