-/* Generated by re2c 0.9.1-C on Tue Aug 6 18:54:36 2002
+/* Generated by re2c 0.9.1-C on Fri Aug 9 17:42:28 2002
*/
#line 1 "scanner.re"
#include <config.h>
YYCTYPE yych;
unsigned int yyaccept;
goto yy0;
-yy1: ++YYCURSOR;
+ ++YYCURSOR;
yy0:
if((YYLIMIT - YYCURSOR) < 7) YYFILL(7);
yych = *YYCURSOR;
if(yych == '\n') goto yy4;
if(yych != '/') goto yy6;
-yy2: yyaccept = 0;
+ yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if(yych == '*') goto yy7;
yy3:
#line 92
{ goto echo; }
yy4: yych = *++YYCURSOR;
-yy5:
+
#line 88
{ if(cursor == s->eof) RETURN(0);
fwrite(s->tok, 1, cursor - s->tok, out);
}
yy9: yych = *++YYCURSOR;
if(yych != 'r') goto yy8;
-yy10: yych = *++YYCURSOR;
+ yych = *++YYCURSOR;
if(yych != 'e') goto yy8;
-yy11: yych = *++YYCURSOR;
+ yych = *++YYCURSOR;
if(yych != '2') goto yy8;
-yy12: yych = *++YYCURSOR;
+ yych = *++YYCURSOR;
if(yych != 'c') goto yy8;
-yy13: yych = *++YYCURSOR;
-yy14:
+ yych = *++YYCURSOR;
+
#line 85
{ fwrite(s->tok, 1, &cursor[-7] - s->tok, out);
s->tok = cursor;
YYCTYPE yych;
unsigned int yyaccept;
goto yy15;
-yy16: ++YYCURSOR;
+ ++YYCURSOR;
yy15:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
}
}
yy17: yych = *++YYCURSOR;
-yy18:
+
#line 108
{ depth = 1;
goto code;
#line 138
{ goto scan; }
yy33: yych = *++YYCURSOR;
-yy34:
+
#line 140
{ if(cursor == s->eof) RETURN(0);
s->pos = cursor; s->cline++;
goto scan;
}
yy35: yych = *++YYCURSOR;
-yy36:
+
#line 145
{ fprintf(stderr, "unexpected character: '%c'\n", *s->tok);
goto scan;
if(yych == '\n') goto yy43;
goto yy41;
yy45: yych = *++YYCURSOR;
-yy46:
+
#line 122
{ s->cur = cursor;
yylval.regexp = ranToRE(Scanner_token(s));
if(yych <= '"') goto yy50;
if(yych != '\\') goto yy47;
}
-yy49: ++YYCURSOR;
+ ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
if(yych == '\n') goto yy43;
goto yy47;
yy50: yych = *++YYCURSOR;
-yy51:
+
#line 117
{ s->cur = cursor;
yylval.regexp = strToRE(Scanner_token(s));
return STRING; }
yy52: yych = *++YYCURSOR;
-yy53:
+
#line 114
{ s->tok = cursor;
RETURN(0); }
yy54: yych = *++YYCURSOR;
-yy55:
+
#line 111
{ depth = 1;
goto comment; }
YYCTYPE yych;
unsigned int yyaccept;
goto yy56;
-yy57: ++YYCURSOR;
+ ++YYCURSOR;
yy56:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
if(yych != '}') goto yy64;
}
}
-yy58: yych = *++YYCURSOR;
-yy59:
+ yych = *++YYCURSOR;
+
#line 152
{ if(--depth == 0){
s->cur = cursor;
}
goto code; }
yy60: yych = *++YYCURSOR;
-yy61:
+
#line 158
{ ++depth;
goto code; }
yy62: yych = *++YYCURSOR;
-yy63:
+
#line 160
{ if(cursor == s->eof) Scanner_fatal(s, "missing '}'");
s->pos = cursor; s->cline++;
if(yych <= '"') goto yy64;
if(yych != '\\') goto yy72;
}
-yy74: ++YYCURSOR;
+ ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
if(yych == '\n') goto yy70;
YYCTYPE yych;
unsigned int yyaccept;
goto yy75;
-yy76: ++YYCURSOR;
+ ++YYCURSOR;
yy75:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
if(yych == '*') goto yy83;
goto yy78;
yy80: yych = *++YYCURSOR;
-yy81:
+
#line 175
{ if(cursor == s->eof) RETURN(0);
s->tok = s->pos = cursor; s->cline++;
yy82: yych = *++YYCURSOR;
goto yy78;
yy83: yych = *++YYCURSOR;
-yy84:
+
#line 173
{ ++depth;
goto comment; }
yy85: yych = *++YYCURSOR;
-yy86:
+
#line 169
{ if(--depth == 0)
goto scan;