version 1.11, 2001/11/21 18:48:05
|
version 1.12, 2001/11/21 19:15:41
|
Line 691 EndLine ([\r][\n]|[\n])
|
Line 691 EndLine ([\r][\n]|[\n])
|
{FileName}{Space}* { char *endquote; |
{FileName}{Space}* { char *endquote; |
end_mode(); |
end_mode(); |
start_mode(MODE_IMPORT,NULL); |
start_mode(MODE_IMPORT,NULL); |
|
/* Get rid of leading and trailing quotes */ |
endquote = strrchr(yytext,'\"'); |
endquote = strrchr(yytext,'\"'); |
*endquote = '\0'; |
*endquote = '\0'; |
if (yytext[1] == '/') { |
if (yytext[1] == '/') { |
Line 698 EndLine ([\r][\n]|[\n])
|
Line 699 EndLine ([\r][\n]|[\n])
|
} else { |
} else { |
send("%s",&yytext[1]); |
send("%s",&yytext[1]); |
} |
} |
|
end_mode(); |
|
BEGIN S_SKIP; |
} |
} |
{Identifier}{Space}* { end_mode(); |
{Identifier}{Space}* { end_mode(); |
start_mode(MODE_IMPORT,NULL); |
start_mode(MODE_IMPORT,NULL); |
send("$%s",yytext); |
send("$%s",yytext); |
|
end_mode(); |
|
BEGIN S_SKIP; |
} |
} |
{Space}+ { } |
|
{EndLine} {end_mode(); BEGIN S_TEXT;} |
|
|
|
} |
} |
|
|
<S_ANSWER>{ |
<S_ANSWER>{ |