version 1.1.1.1, 1999/09/28 21:26:21
|
version 1.2, 1999/10/13 18:45:28
|
Line 194 a_line : startL statement EoL
|
Line 194 a_line : startL statement EoL
|
| EoL { YYDBUG_PR1(" a_line <= (CR)\n"); } |
| EoL { YYDBUG_PR1(" a_line <= (CR)\n"); } |
| VERBATIM { YYDBUG_PR1(" a_line <= (VERBATIM)\n"); |
| VERBATIM { YYDBUG_PR1(" a_line <= (VERBATIM)\n"); |
switch(Parsemode_f) { |
switch(Parsemode_f) { |
case TeX_MODE: append_text("\begin{verbatim}"); |
case TeX_MODE: append_text("\\begin{verbatim}"); |
break; |
break; |
case HTML_MODE: append_text("<PRE>"); |
case HTML_MODE: append_text("<PRE>"); |
break; |
break; |
Line 202 a_line : startL statement EoL
|
Line 202 a_line : startL statement EoL
|
append_text($1->s_str); |
append_text($1->s_str); |
capa_mfree($1->s_str); capa_mfree((char *)$1); |
capa_mfree($1->s_str); capa_mfree((char *)$1); |
switch(Parsemode_f) { |
switch(Parsemode_f) { |
case TeX_MODE: append_text("\end{verbatim}"); |
case TeX_MODE: append_text("\\end{verbatim}\n"); |
break; |
break; |
case HTML_MODE: append_text("</PRE>"); |
case HTML_MODE: append_text("</PRE>\n"); |
break; |
break; |
} |
} |
} |
} |