-/* Generated by re2c 0.16 on Sat Apr 2 11:23:34 2016 */
+/* Generated by re2c 0.16 on Sat Apr 2 11:45:18 2016 */
#line 1 "../src/parse/lex.re"
#include "src/util/c99_stdint.h"
#include <stddef.h>
#line 708 "src/parse/lex.cc"
{
YYCTYPE yych;
- if ((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
+ if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= '\f') {
if (yych <= 0x00) goto yy124;
yy131:
yych = (YYCTYPE)*++YYCURSOR;
if (yych != '/') goto yy127;
- yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych == '\n') goto yy134;
- if (yych == '\r') goto yy136;
-yy133:
+ ++YYCURSOR;
#line 198 "../src/parse/lex.re"
{
if (ignored > 0) {
tok = pos = cur;
goto echo;
}
-#line 759 "src/parse/lex.cc"
-yy134:
- ++YYCURSOR;
-#line 207 "../src/parse/lex.re"
- {
- ++cline;
- if (ignored > 0) {
- cline += ignored;
- ignored = 0;
- out.wline_info(cline, get_fname().c_str());
- }
- tok = pos = cur;
- goto echo;
- }
-#line 773 "src/parse/lex.cc"
-yy136:
- yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy134;
- YYCURSOR = YYMARKER;
- goto yy133;
+#line 756 "src/parse/lex.cc"
}
-#line 217 "../src/parse/lex.re"
+#line 207 "../src/parse/lex.re"
}
start:
-#line 800 "src/parse/lex.cc"
+#line 778 "src/parse/lex.cc"
{
YYCTYPE yych;
unsigned int yyaccept = 0;
if ((YYLIMIT - YYCURSOR) < 6) YYFILL(6);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 16) {
- goto yy142;
+ goto yy138;
}
if (yych <= '9') {
if (yych <= '&') {
if (yych <= '\r') {
- if (yych <= 0x08) goto yy140;
- if (yych <= '\n') goto yy145;
- if (yych >= '\r') goto yy147;
+ if (yych <= 0x08) goto yy136;
+ if (yych <= '\n') goto yy141;
+ if (yych >= '\r') goto yy143;
} else {
if (yych <= '"') {
- if (yych >= '"') goto yy148;
+ if (yych >= '"') goto yy144;
} else {
- if (yych == '%') goto yy150;
+ if (yych == '%') goto yy146;
}
}
} else {
if (yych <= '+') {
- if (yych <= '\'') goto yy151;
- if (yych <= ')') goto yy153;
- if (yych <= '*') goto yy155;
- goto yy157;
+ if (yych <= '\'') goto yy147;
+ if (yych <= ')') goto yy149;
+ if (yych <= '*') goto yy151;
+ goto yy153;
} else {
if (yych <= '-') {
- if (yych <= ',') goto yy153;
+ if (yych <= ',') goto yy149;
} else {
- if (yych <= '.') goto yy159;
- if (yych <= '/') goto yy161;
- goto yy162;
+ if (yych <= '.') goto yy155;
+ if (yych <= '/') goto yy157;
+ goto yy158;
}
}
}
} else {
if (yych <= '\\') {
if (yych <= '>') {
- if (yych <= ':') goto yy163;
- if (yych == '<') goto yy164;
- goto yy153;
+ if (yych <= ':') goto yy159;
+ if (yych == '<') goto yy160;
+ goto yy149;
} else {
if (yych <= '@') {
- if (yych <= '?') goto yy157;
- goto yy165;
+ if (yych <= '?') goto yy153;
+ goto yy161;
} else {
- if (yych <= 'Z') goto yy162;
- if (yych <= '[') goto yy166;
- goto yy153;
+ if (yych <= 'Z') goto yy158;
+ if (yych <= '[') goto yy162;
+ goto yy149;
}
}
} else {
if (yych <= 'q') {
- if (yych == '_') goto yy162;
- if (yych >= 'a') goto yy162;
+ if (yych == '_') goto yy158;
+ if (yych >= 'a') goto yy158;
} else {
if (yych <= 'z') {
- if (yych <= 'r') goto yy168;
- goto yy162;
+ if (yych <= 'r') goto yy164;
+ goto yy158;
} else {
- if (yych <= '{') goto yy169;
- if (yych <= '|') goto yy153;
+ if (yych <= '{') goto yy165;
+ if (yych <= '|') goto yy149;
}
}
}
}
-yy140:
+yy136:
++YYCURSOR;
-yy141:
-#line 395 "../src/parse/lex.re"
+yy137:
+#line 385 "../src/parse/lex.re"
{
fatalf("unexpected character: '%c'", *tok);
goto scan;
}
-#line 911 "src/parse/lex.cc"
-yy142:
+#line 889 "src/parse/lex.cc"
+yy138:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 16) {
- goto yy142;
+ goto yy138;
}
-#line 379 "../src/parse/lex.re"
+#line 369 "../src/parse/lex.re"
{
goto scan;
}
-#line 923 "src/parse/lex.cc"
-yy145:
+#line 901 "src/parse/lex.cc"
+yy141:
yyaccept = 0;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= 0x1F) {
- if (yych == '\t') goto yy171;
+ if (yych == '\t') goto yy167;
} else {
- if (yych <= ' ') goto yy171;
- if (yych == '#') goto yy174;
+ if (yych <= ' ') goto yy167;
+ if (yych == '#') goto yy170;
}
-yy146:
-#line 388 "../src/parse/lex.re"
+yy142:
+#line 378 "../src/parse/lex.re"
{
if (cur == eof) return 0;
pos = cur;
cline++;
goto scan;
}
-#line 941 "src/parse/lex.cc"
-yy147:
+#line 919 "src/parse/lex.cc"
+yy143:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy145;
- goto yy141;
-yy148:
+ if (yych == '\n') goto yy141;
+ goto yy137;
+yy144:
++YYCURSOR;
-#line 266 "../src/parse/lex.re"
+#line 256 "../src/parse/lex.re"
{ yylval.regexp = lex_str('"', opts->bCaseInsensitive || opts->bCaseInverted); return TOKEN_REGEXP; }
-#line 950 "src/parse/lex.cc"
-yy150:
+#line 928 "src/parse/lex.cc"
+yy146:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '}') goto yy176;
- goto yy141;
-yy151:
+ if (yych == '}') goto yy172;
+ goto yy137;
+yy147:
++YYCURSOR;
-#line 265 "../src/parse/lex.re"
+#line 255 "../src/parse/lex.re"
{ yylval.regexp = lex_str('\'', opts->bCaseInsensitive || !opts->bCaseInverted); return TOKEN_REGEXP; }
-#line 959 "src/parse/lex.cc"
-yy153:
+#line 937 "src/parse/lex.cc"
+yy149:
++YYCURSOR;
-yy154:
-#line 282 "../src/parse/lex.re"
+yy150:
+#line 272 "../src/parse/lex.re"
{
return *tok;
}
-#line 967 "src/parse/lex.cc"
-yy155:
+#line 945 "src/parse/lex.cc"
+yy151:
++YYCURSOR;
- if ((yych = (YYCTYPE)*YYCURSOR) == '/') goto yy176;
-#line 286 "../src/parse/lex.re"
+ if ((yych = (YYCTYPE)*YYCURSOR) == '/') goto yy172;
+#line 276 "../src/parse/lex.re"
{
yylval.op = *tok;
return TOKEN_STAR;
}
-#line 976 "src/parse/lex.cc"
-yy157:
+#line 954 "src/parse/lex.cc"
+yy153:
++YYCURSOR;
-#line 290 "../src/parse/lex.re"
+#line 280 "../src/parse/lex.re"
{
yylval.op = *tok;
return TOKEN_CLOSE;
}
-#line 984 "src/parse/lex.cc"
-yy159:
+#line 962 "src/parse/lex.cc"
+yy155:
++YYCURSOR;
-#line 374 "../src/parse/lex.re"
+#line 364 "../src/parse/lex.re"
{
yylval.regexp = mkDot();
return TOKEN_REGEXP;
}
-#line 992 "src/parse/lex.cc"
-yy161:
+#line 970 "src/parse/lex.cc"
+yy157:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '*') goto yy178;
- if (yych == '/') goto yy180;
- goto yy154;
-yy162:
+ if (yych == '*') goto yy174;
+ if (yych == '/') goto yy176;
+ goto yy150;
+yy158:
yych = (YYCTYPE)*++YYCURSOR;
YYCTXMARKER = YYCURSOR;
- goto yy188;
-yy163:
+ goto yy184;
+yy159:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '=') goto yy189;
- goto yy141;
-yy164:
+ if (yych == '=') goto yy185;
+ goto yy137;
+yy160:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych == '!') goto yy191;
- if (yych == '>') goto yy193;
- goto yy154;
-yy165:
+ if (yych == '!') goto yy187;
+ if (yych == '>') goto yy189;
+ goto yy150;
+yy161:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= 'Z') {
- if (yych <= '/') goto yy141;
- if (yych <= '9') goto yy194;
- if (yych <= '@') goto yy141;
- goto yy194;
+ if (yych <= '/') goto yy137;
+ if (yych <= '9') goto yy190;
+ if (yych <= '@') goto yy137;
+ goto yy190;
} else {
if (yych <= '_') {
- if (yych <= '^') goto yy141;
- goto yy194;
+ if (yych <= '^') goto yy137;
+ goto yy190;
} else {
- if (yych <= '`') goto yy141;
- if (yych <= 'z') goto yy194;
- goto yy141;
+ if (yych <= '`') goto yy137;
+ if (yych <= 'z') goto yy190;
+ goto yy137;
}
}
-yy166:
+yy162:
++YYCURSOR;
- if ((yych = (YYCTYPE)*YYCURSOR) == '^') goto yy197;
-#line 267 "../src/parse/lex.re"
+ if ((yych = (YYCTYPE)*YYCURSOR) == '^') goto yy193;
+#line 257 "../src/parse/lex.re"
{ yylval.regexp = lex_cls(false); return TOKEN_REGEXP; }
-#line 1034 "src/parse/lex.cc"
-yy168:
+#line 1012 "src/parse/lex.cc"
+yy164:
yych = (YYCTYPE)*++YYCURSOR;
YYCTXMARKER = YYCURSOR;
- if (yych == 'e') goto yy199;
- goto yy188;
-yy169:
+ if (yych == 'e') goto yy195;
+ goto yy184;
+yy165:
yyaccept = 2;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yybm[0+yych] & 64) {
- goto yy202;
+ goto yy198;
}
if (yych <= 'Z') {
- if (yych == ',') goto yy200;
- if (yych >= 'A') goto yy204;
+ if (yych == ',') goto yy196;
+ if (yych >= 'A') goto yy200;
} else {
if (yych <= '_') {
- if (yych >= '_') goto yy204;
+ if (yych >= '_') goto yy200;
} else {
- if (yych <= '`') goto yy170;
- if (yych <= 'z') goto yy204;
+ if (yych <= '`') goto yy166;
+ if (yych <= 'z') goto yy200;
}
}
-yy170:
-#line 236 "../src/parse/lex.re"
+yy166:
+#line 226 "../src/parse/lex.re"
{
depth = 1;
goto code;
}
-#line 1063 "src/parse/lex.cc"
-yy171:
+#line 1041 "src/parse/lex.cc"
+yy167:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy171;
+ if (yych == '\t') goto yy167;
} else {
- if (yych <= ' ') goto yy171;
- if (yych == '#') goto yy174;
+ if (yych <= ' ') goto yy167;
+ if (yych == '#') goto yy170;
}
-yy173:
+yy169:
YYCURSOR = YYMARKER;
if (yyaccept <= 1) {
if (yyaccept == 0) {
- goto yy146;
+ goto yy142;
} else {
- goto yy154;
+ goto yy150;
}
} else {
if (yyaccept == 2) {
- goto yy170;
+ goto yy166;
} else {
- goto yy201;
+ goto yy197;
}
}
-yy174:
+yy170:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy174;
- goto yy173;
+ if (yych == '\t') goto yy170;
+ goto yy169;
} else {
- if (yych <= ' ') goto yy174;
- if (yych == 'l') goto yy206;
- goto yy173;
+ if (yych <= ' ') goto yy170;
+ if (yych == 'l') goto yy202;
+ goto yy169;
}
-yy176:
+yy172:
++YYCURSOR;
-#line 260 "../src/parse/lex.re"
+#line 250 "../src/parse/lex.re"
{
tok = cur;
return 0;
}
-#line 1108 "src/parse/lex.cc"
-yy178:
+#line 1086 "src/parse/lex.cc"
+yy174:
++YYCURSOR;
-#line 254 "../src/parse/lex.re"
+#line 244 "../src/parse/lex.re"
{
depth = 1;
goto comment;
}
-#line 1116 "src/parse/lex.cc"
-yy180:
+#line 1094 "src/parse/lex.cc"
+yy176:
++YYCURSOR;
-#line 251 "../src/parse/lex.re"
+#line 241 "../src/parse/lex.re"
{
goto nextLine;
}
-#line 1123 "src/parse/lex.cc"
-yy182:
+#line 1101 "src/parse/lex.cc"
+yy178:
++YYCURSOR;
YYCURSOR -= 1;
-#line 358 "../src/parse/lex.re"
+#line 348 "../src/parse/lex.re"
{
if (!opts->FFlag) {
yylval.str = new std::string (tok, tok_len());
return TOKEN_REGEXP;
}
}
-#line 1143 "src/parse/lex.cc"
-yy184:
+#line 1121 "src/parse/lex.cc"
+yy180:
yych = (YYCTYPE)*++YYCURSOR;
- goto yy210;
-yy185:
+ goto yy206;
+yy181:
++YYCURSOR;
YYCURSOR = YYCTXMARKER;
-#line 353 "../src/parse/lex.re"
+#line 343 "../src/parse/lex.re"
{
yylval.str = new std::string (tok, tok_len ());
return TOKEN_ID;
}
-#line 1155 "src/parse/lex.cc"
-yy187:
+#line 1133 "src/parse/lex.cc"
+yy183:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
YYCTXMARKER = YYCURSOR;
-yy188:
+yy184:
if (yybm[0+yych] & 32) {
- goto yy187;
+ goto yy183;
}
if (yych <= ' ') {
- if (yych == '\t') goto yy184;
- if (yych <= 0x1F) goto yy182;
- goto yy184;
+ if (yych == '\t') goto yy180;
+ if (yych <= 0x1F) goto yy178;
+ goto yy180;
} else {
if (yych <= ',') {
- if (yych <= '+') goto yy182;
- goto yy185;
+ if (yych <= '+') goto yy178;
+ goto yy181;
} else {
- if (yych <= '<') goto yy182;
- if (yych <= '>') goto yy185;
- goto yy182;
+ if (yych <= '<') goto yy178;
+ if (yych <= '>') goto yy181;
+ goto yy178;
}
}
-yy189:
+yy185:
++YYCURSOR;
- if ((yych = (YYCTYPE)*YYCURSOR) == '>') goto yy211;
-#line 245 "../src/parse/lex.re"
+ if ((yych = (YYCTYPE)*YYCURSOR) == '>') goto yy207;
+#line 235 "../src/parse/lex.re"
{
tok += 2; /* skip ":=" */
depth = 0;
goto code;
}
-#line 1188 "src/parse/lex.cc"
-yy191:
+#line 1166 "src/parse/lex.cc"
+yy187:
++YYCURSOR;
-#line 273 "../src/parse/lex.re"
+#line 263 "../src/parse/lex.re"
{
return TOKEN_SETUP;
}
-#line 1195 "src/parse/lex.cc"
-yy193:
+#line 1173 "src/parse/lex.cc"
+yy189:
yych = (YYCTYPE)*++YYCURSOR;
YYCTXMARKER = YYCURSOR;
- goto yy214;
-yy194:
+ goto yy210;
+yy190:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 'Z') {
- if (yych <= '/') goto yy196;
- if (yych <= '9') goto yy194;
- if (yych >= 'A') goto yy194;
+ if (yych <= '/') goto yy192;
+ if (yych <= '9') goto yy190;
+ if (yych >= 'A') goto yy190;
} else {
if (yych <= '_') {
- if (yych >= '_') goto yy194;
+ if (yych >= '_') goto yy190;
} else {
- if (yych <= '`') goto yy196;
- if (yych <= 'z') goto yy194;
+ if (yych <= '`') goto yy192;
+ if (yych <= 'z') goto yy190;
}
}
-yy196:
-#line 277 "../src/parse/lex.re"
+yy192:
+#line 267 "../src/parse/lex.re"
{
yylval.str = new std::string(tok + 1, tok_len() - 1);
return TOKEN_CTX;
}
-#line 1222 "src/parse/lex.cc"
-yy197:
+#line 1200 "src/parse/lex.cc"
+yy193:
++YYCURSOR;
-#line 268 "../src/parse/lex.re"
+#line 258 "../src/parse/lex.re"
{ yylval.regexp = lex_cls(true); return TOKEN_REGEXP; }
-#line 1227 "src/parse/lex.cc"
-yy199:
+#line 1205 "src/parse/lex.cc"
+yy195:
yych = (YYCTYPE)*++YYCURSOR;
YYCTXMARKER = YYCURSOR;
- if (yych == '2') goto yy219;
- goto yy188;
-yy200:
+ if (yych == '2') goto yy215;
+ goto yy184;
+yy196:
++YYCURSOR;
-yy201:
-#line 326 "../src/parse/lex.re"
+yy197:
+#line 316 "../src/parse/lex.re"
{
fatal("illegal closure form, use '{n}', '{n,}', '{n,m}' where n and m are numbers");
}
-#line 1240 "src/parse/lex.cc"
-yy202:
+#line 1218 "src/parse/lex.cc"
+yy198:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 64) {
- goto yy202;
+ goto yy198;
}
if (yych <= '^') {
if (yych <= ',') {
- if (yych <= '+') goto yy173;
- goto yy220;
+ if (yych <= '+') goto yy169;
+ goto yy216;
} else {
- if (yych <= '@') goto yy173;
- if (yych >= '[') goto yy173;
+ if (yych <= '@') goto yy169;
+ if (yych >= '[') goto yy169;
}
} else {
if (yych <= 'z') {
- if (yych == '`') goto yy173;
+ if (yych == '`') goto yy169;
} else {
- if (yych == '}') goto yy221;
- goto yy173;
+ if (yych == '}') goto yy217;
+ goto yy169;
}
}
-yy204:
+yy200:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= '^') {
if (yych <= '9') {
- if (yych <= '/') goto yy173;
- goto yy204;
+ if (yych <= '/') goto yy169;
+ goto yy200;
} else {
- if (yych <= '@') goto yy173;
- if (yych <= 'Z') goto yy204;
- goto yy173;
+ if (yych <= '@') goto yy169;
+ if (yych <= 'Z') goto yy200;
+ goto yy169;
}
} else {
if (yych <= 'z') {
- if (yych == '`') goto yy173;
- goto yy204;
+ if (yych == '`') goto yy169;
+ goto yy200;
} else {
- if (yych == '}') goto yy223;
- goto yy173;
+ if (yych == '}') goto yy219;
+ goto yy169;
}
}
-yy206:
+yy202:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == 'i') goto yy225;
- goto yy173;
-yy207:
+ if (yych == 'i') goto yy221;
+ goto yy169;
+yy203:
++YYCURSOR;
YYCURSOR = YYCTXMARKER;
-#line 340 "../src/parse/lex.re"
+#line 330 "../src/parse/lex.re"
{
yylval.str = new std::string (tok, tok_len ());
if (opts->FFlag)
return TOKEN_ID;
}
}
-#line 1306 "src/parse/lex.cc"
-yy209:
+#line 1284 "src/parse/lex.cc"
+yy205:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
-yy210:
+yy206:
if (yych <= ' ') {
- if (yych == '\t') goto yy209;
- if (yych <= 0x1F) goto yy207;
- goto yy209;
+ if (yych == '\t') goto yy205;
+ if (yych <= 0x1F) goto yy203;
+ goto yy205;
} else {
if (yych <= ',') {
- if (yych <= '+') goto yy207;
- goto yy185;
+ if (yych <= '+') goto yy203;
+ goto yy181;
} else {
- if (yych <= '<') goto yy207;
- if (yych <= '>') goto yy185;
- goto yy207;
+ if (yych <= '<') goto yy203;
+ if (yych <= '>') goto yy181;
+ goto yy203;
}
}
-yy211:
+yy207:
++YYCURSOR;
YYCURSOR -= 2;
-#line 241 "../src/parse/lex.re"
+#line 231 "../src/parse/lex.re"
{
return *tok;
}
-#line 1333 "src/parse/lex.cc"
-yy213:
+#line 1311 "src/parse/lex.cc"
+yy209:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
-yy214:
+yy210:
if (yych <= '9') {
if (yych <= '\t') {
- if (yych <= 0x08) goto yy173;
- goto yy213;
+ if (yych <= 0x08) goto yy169;
+ goto yy209;
} else {
- if (yych == ' ') goto yy213;
- goto yy173;
+ if (yych == ' ') goto yy209;
+ goto yy169;
}
} else {
if (yych <= '=') {
- if (yych <= ':') goto yy215;
- if (yych <= '<') goto yy173;
- goto yy216;
+ if (yych <= ':') goto yy211;
+ if (yych <= '<') goto yy169;
+ goto yy212;
} else {
- if (yych == '{') goto yy217;
- goto yy173;
+ if (yych == '{') goto yy213;
+ goto yy169;
}
}
-yy215:
+yy211:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '=') goto yy217;
- goto yy173;
-yy216:
+ if (yych == '=') goto yy213;
+ goto yy169;
+yy212:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != '>') goto yy173;
-yy217:
+ if (yych != '>') goto yy169;
+yy213:
++YYCURSOR;
YYCURSOR = YYCTXMARKER;
-#line 270 "../src/parse/lex.re"
+#line 260 "../src/parse/lex.re"
{
return TOKEN_NOCOND;
}
-#line 1371 "src/parse/lex.cc"
-yy219:
+#line 1349 "src/parse/lex.cc"
+yy215:
yych = (YYCTYPE)*++YYCURSOR;
YYCTXMARKER = YYCURSOR;
- if (yych == 'c') goto yy226;
- goto yy188;
-yy220:
+ if (yych == 'c') goto yy222;
+ goto yy184;
+yy216:
yyaccept = 3;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych <= '/') goto yy201;
- if (yych <= '9') goto yy227;
- if (yych == '}') goto yy229;
- goto yy201;
-yy221:
+ if (yych <= '/') goto yy197;
+ if (yych <= '9') goto yy223;
+ if (yych == '}') goto yy225;
+ goto yy197;
+yy217:
++YYCURSOR;
-#line 295 "../src/parse/lex.re"
+#line 285 "../src/parse/lex.re"
{
if (!s_to_u32_unsafe (tok + 1, cur - 1, yylval.extop.min))
{
yylval.extop.max = yylval.extop.min;
return TOKEN_CLOSESIZE;
}
-#line 1395 "src/parse/lex.cc"
-yy223:
+#line 1373 "src/parse/lex.cc"
+yy219:
++YYCURSOR;
-#line 330 "../src/parse/lex.re"
+#line 320 "../src/parse/lex.re"
{
if (!opts->FFlag) {
fatal("curly braces for names only allowed with -F switch");
yylval.str = new std::string (tok + 1, tok_len () - 2); // -2 to omit braces
return TOKEN_ID;
}
-#line 1406 "src/parse/lex.cc"
-yy225:
+#line 1384 "src/parse/lex.cc"
+yy221:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == 'n') goto yy231;
- goto yy173;
-yy226:
+ if (yych == 'n') goto yy227;
+ goto yy169;
+yy222:
yych = (YYCTYPE)*++YYCURSOR;
YYCTXMARKER = YYCURSOR;
- if (yych == ':') goto yy232;
- goto yy188;
-yy227:
+ if (yych == ':') goto yy228;
+ goto yy184;
+yy223:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych <= '/') goto yy173;
- if (yych <= '9') goto yy227;
- if (yych == '}') goto yy234;
- goto yy173;
-yy229:
+ if (yych <= '/') goto yy169;
+ if (yych <= '9') goto yy223;
+ if (yych == '}') goto yy230;
+ goto yy169;
+yy225:
++YYCURSOR;
-#line 317 "../src/parse/lex.re"
+#line 307 "../src/parse/lex.re"
{
if (!s_to_u32_unsafe (tok + 1, cur - 2, yylval.extop.min))
{
yylval.extop.max = std::numeric_limits<uint32_t>::max();
return TOKEN_CLOSESIZE;
}
-#line 1435 "src/parse/lex.cc"
-yy231:
+#line 1413 "src/parse/lex.cc"
+yy227:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == 'e') goto yy236;
- goto yy173;
-yy232:
+ if (yych == 'e') goto yy232;
+ goto yy169;
+yy228:
++YYCURSOR;
-#line 338 "../src/parse/lex.re"
+#line 328 "../src/parse/lex.re"
{ lex_conf (); return TOKEN_CONF; }
-#line 1444 "src/parse/lex.cc"
-yy234:
+#line 1422 "src/parse/lex.cc"
+yy230:
++YYCURSOR;
-#line 304 "../src/parse/lex.re"
+#line 294 "../src/parse/lex.re"
{
const char * p = strchr (tok, ',');
if (!s_to_u32_unsafe (tok + 1, p, yylval.extop.min))
}
return TOKEN_CLOSESIZE;
}
-#line 1460 "src/parse/lex.cc"
-yy236:
+#line 1438 "src/parse/lex.cc"
+yy232:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych <= '0') goto yy238;
- if (yych <= '9') goto yy173;
- goto yy238;
-yy237:
+ if (yych <= '0') goto yy234;
+ if (yych <= '9') goto yy169;
+ goto yy234;
+yy233:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
YYCTXMARKER = YYCURSOR;
-yy238:
+yy234:
if (yych <= 0x1F) {
- if (yych == '\t') goto yy237;
- goto yy173;
+ if (yych == '\t') goto yy233;
+ goto yy169;
} else {
- if (yych <= ' ') goto yy237;
- if (yych <= '0') goto yy173;
- if (yych >= ':') goto yy173;
+ if (yych <= ' ') goto yy233;
+ if (yych <= '0') goto yy169;
+ if (yych >= ':') goto yy169;
}
-yy239:
+yy235:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= '\r') {
if (yych <= '\t') {
- if (yych <= 0x08) goto yy173;
+ if (yych <= 0x08) goto yy169;
} else {
- if (yych <= '\n') goto yy243;
- if (yych <= '\f') goto yy173;
- goto yy245;
+ if (yych <= '\n') goto yy239;
+ if (yych <= '\f') goto yy169;
+ goto yy241;
}
} else {
if (yych <= ' ') {
- if (yych <= 0x1F) goto yy173;
+ if (yych <= 0x1F) goto yy169;
} else {
- if (yych <= '/') goto yy173;
- if (yych <= '9') goto yy239;
- goto yy173;
+ if (yych <= '/') goto yy169;
+ if (yych <= '9') goto yy235;
+ goto yy169;
}
}
-yy241:
+yy237:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy241;
- goto yy173;
+ if (yych == '\t') goto yy237;
+ goto yy169;
} else {
- if (yych <= ' ') goto yy241;
- if (yych == '"') goto yy246;
- goto yy173;
+ if (yych <= ' ') goto yy237;
+ if (yych == '"') goto yy242;
+ goto yy169;
}
-yy243:
+yy239:
++YYCURSOR;
YYCURSOR = YYCTXMARKER;
-#line 383 "../src/parse/lex.re"
+#line 373 "../src/parse/lex.re"
{
set_sourceline ();
goto scan;
}
-#line 1521 "src/parse/lex.cc"
-yy245:
+#line 1499 "src/parse/lex.cc"
+yy241:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy243;
- goto yy173;
-yy246:
+ if (yych == '\n') goto yy239;
+ goto yy169;
+yy242:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 128) {
- goto yy246;
+ goto yy242;
}
- if (yych <= '\n') goto yy173;
- if (yych >= '#') goto yy249;
+ if (yych <= '\n') goto yy169;
+ if (yych >= '#') goto yy245;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy243;
- if (yych == '\r') goto yy245;
- goto yy173;
-yy249:
+ if (yych == '\n') goto yy239;
+ if (yych == '\r') goto yy241;
+ goto yy169;
+yy245:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy173;
- goto yy246;
+ if (yych == '\n') goto yy169;
+ goto yy242;
}
-#line 399 "../src/parse/lex.re"
+#line 389 "../src/parse/lex.re"
flex_name:
-#line 1551 "src/parse/lex.cc"
+#line 1529 "src/parse/lex.cc"
{
YYCTYPE yych;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy254;
- if (yych == '\r') goto yy256;
+ if (yych == '\n') goto yy250;
+ if (yych == '\r') goto yy252;
++YYCURSOR;
-yy253:
-#line 410 "../src/parse/lex.re"
+yy249:
+#line 400 "../src/parse/lex.re"
{
YYCURSOR = tok;
goto start;
}
-#line 1565 "src/parse/lex.cc"
-yy254:
+#line 1543 "src/parse/lex.cc"
+yy250:
++YYCURSOR;
-#line 404 "../src/parse/lex.re"
+#line 394 "../src/parse/lex.re"
{
YYCURSOR = tok;
lexer_state = LEX_NORMAL;
return TOKEN_FID_END;
}
-#line 1574 "src/parse/lex.cc"
-yy256:
+#line 1552 "src/parse/lex.cc"
+yy252:
++YYCURSOR;
- if ((yych = (YYCTYPE)*YYCURSOR) == '\n') goto yy254;
- goto yy253;
+ if ((yych = (YYCTYPE)*YYCURSOR) == '\n') goto yy250;
+ goto yy249;
}
-#line 414 "../src/parse/lex.re"
+#line 404 "../src/parse/lex.re"
code:
-#line 1585 "src/parse/lex.cc"
+#line 1563 "src/parse/lex.cc"
{
YYCTYPE yych;
unsigned int yyaccept = 0;
yych = (YYCTYPE)*YYCURSOR;
if (yych <= '&') {
if (yych <= '\n') {
- if (yych <= 0x00) goto yy259;
- if (yych <= '\t') goto yy261;
- goto yy263;
+ if (yych <= 0x00) goto yy255;
+ if (yych <= '\t') goto yy257;
+ goto yy259;
} else {
- if (yych == '"') goto yy265;
- goto yy261;
+ if (yych == '"') goto yy261;
+ goto yy257;
}
} else {
if (yych <= '{') {
- if (yych <= '\'') goto yy266;
- if (yych <= 'z') goto yy261;
- goto yy267;
+ if (yych <= '\'') goto yy262;
+ if (yych <= 'z') goto yy257;
+ goto yy263;
} else {
- if (yych == '}') goto yy269;
- goto yy261;
+ if (yych == '}') goto yy265;
+ goto yy257;
}
}
-yy259:
+yy255:
++YYCURSOR;
-#line 477 "../src/parse/lex.re"
+#line 467 "../src/parse/lex.re"
{
if (cur == eof)
{
}
goto code;
}
-#line 1658 "src/parse/lex.cc"
-yy261:
+#line 1636 "src/parse/lex.cc"
+yy257:
++YYCURSOR;
-yy262:
-#line 491 "../src/parse/lex.re"
+yy258:
+#line 481 "../src/parse/lex.re"
{
goto code;
}
-#line 1666 "src/parse/lex.cc"
-yy263:
+#line 1644 "src/parse/lex.cc"
+yy259:
yyaccept = 0;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '\r') {
if (yych <= '\t') {
- if (yych >= '\t') goto yy271;
+ if (yych >= '\t') goto yy267;
} else {
- if (yych <= '\n') goto yy273;
- if (yych >= '\r') goto yy273;
+ if (yych <= '\n') goto yy269;
+ if (yych >= '\r') goto yy269;
}
} else {
if (yych <= ' ') {
- if (yych >= ' ') goto yy271;
+ if (yych >= ' ') goto yy267;
} else {
- if (yych == '#') goto yy274;
+ if (yych == '#') goto yy270;
}
}
-yy264:
-#line 458 "../src/parse/lex.re"
+yy260:
+#line 448 "../src/parse/lex.re"
{
if (depth == 0)
{
cline++;
goto code;
}
-#line 1705 "src/parse/lex.cc"
-yy265:
+#line 1683 "src/parse/lex.cc"
+yy261:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych == '\n') goto yy262;
- goto yy278;
-yy266:
+ if (yych == '\n') goto yy258;
+ goto yy274;
+yy262:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych == '\n') goto yy262;
- goto yy283;
-yy267:
+ if (yych == '\n') goto yy258;
+ goto yy279;
+yy263:
++YYCURSOR;
-#line 430 "../src/parse/lex.re"
+#line 420 "../src/parse/lex.re"
{
if (depth == 0)
{
}
goto code;
}
-#line 1730 "src/parse/lex.cc"
-yy269:
+#line 1708 "src/parse/lex.cc"
+yy265:
++YYCURSOR;
-#line 418 "../src/parse/lex.re"
+#line 408 "../src/parse/lex.re"
{
if (depth == 0)
{
}
goto code;
}
-#line 1746 "src/parse/lex.cc"
-yy271:
+#line 1724 "src/parse/lex.cc"
+yy267:
yyaccept = 2;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= 0x1F) {
- if (yych == '\t') goto yy285;
+ if (yych == '\t') goto yy281;
} else {
- if (yych <= ' ') goto yy285;
- if (yych == '#') goto yy274;
+ if (yych <= ' ') goto yy281;
+ if (yych == '#') goto yy270;
}
-yy272:
+yy268:
YYCURSOR -= 1;
-#line 445 "../src/parse/lex.re"
+#line 435 "../src/parse/lex.re"
{
if (depth == 0)
{
cline++;
goto code;
}
-#line 1772 "src/parse/lex.cc"
-yy273:
+#line 1750 "src/parse/lex.cc"
+yy269:
yych = (YYCTYPE)*++YYCURSOR;
- goto yy272;
-yy274:
+ goto yy268;
+yy270:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 16) {
- goto yy274;
+ goto yy270;
}
- if (yych == 'l') goto yy287;
-yy276:
+ if (yych == 'l') goto yy283;
+yy272:
YYCURSOR = YYMARKER;
if (yyaccept <= 1) {
if (yyaccept == 0) {
- goto yy264;
+ goto yy260;
} else {
- goto yy262;
+ goto yy258;
}
} else {
- goto yy272;
+ goto yy268;
}
-yy277:
+yy273:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
-yy278:
+yy274:
if (yybm[0+yych] & 32) {
- goto yy277;
+ goto yy273;
}
- if (yych <= '\n') goto yy276;
- if (yych >= '#') goto yy281;
-yy279:
+ if (yych <= '\n') goto yy272;
+ if (yych >= '#') goto yy277;
+yy275:
++YYCURSOR;
-#line 488 "../src/parse/lex.re"
+#line 478 "../src/parse/lex.re"
{
goto code;
}
-#line 1811 "src/parse/lex.cc"
-yy281:
+#line 1789 "src/parse/lex.cc"
+yy277:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy276;
- goto yy277;
-yy282:
+ if (yych == '\n') goto yy272;
+ goto yy273;
+yy278:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
-yy283:
+yy279:
if (yybm[0+yych] & 64) {
- goto yy282;
+ goto yy278;
}
- if (yych <= '\n') goto yy276;
- if (yych <= '\'') goto yy279;
+ if (yych <= '\n') goto yy272;
+ if (yych <= '\'') goto yy275;
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy276;
- goto yy282;
-yy285:
+ if (yych == '\n') goto yy272;
+ goto yy278;
+yy281:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy285;
- goto yy276;
+ if (yych == '\t') goto yy281;
+ goto yy272;
} else {
- if (yych <= ' ') goto yy285;
- if (yych == '#') goto yy274;
- goto yy276;
+ if (yych <= ' ') goto yy281;
+ if (yych == '#') goto yy270;
+ goto yy272;
}
-yy287:
+yy283:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != 'i') goto yy276;
+ if (yych != 'i') goto yy272;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != 'n') goto yy276;
+ if (yych != 'n') goto yy272;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != 'e') goto yy276;
+ if (yych != 'e') goto yy272;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych <= '0') goto yy292;
- if (yych <= '9') goto yy276;
- goto yy292;
-yy291:
+ if (yych <= '0') goto yy288;
+ if (yych <= '9') goto yy272;
+ goto yy288;
+yy287:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
YYCTXMARKER = YYCURSOR;
-yy292:
+yy288:
if (yych <= 0x1F) {
- if (yych == '\t') goto yy291;
- goto yy276;
+ if (yych == '\t') goto yy287;
+ goto yy272;
} else {
- if (yych <= ' ') goto yy291;
- if (yych <= '0') goto yy276;
- if (yych >= ':') goto yy276;
+ if (yych <= ' ') goto yy287;
+ if (yych <= '0') goto yy272;
+ if (yych >= ':') goto yy272;
}
-yy293:
+yy289:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 128) {
- goto yy293;
+ goto yy289;
}
if (yych <= '\f') {
- if (yych <= 0x08) goto yy276;
- if (yych <= '\t') goto yy295;
- if (yych <= '\n') goto yy297;
- goto yy276;
+ if (yych <= 0x08) goto yy272;
+ if (yych <= '\t') goto yy291;
+ if (yych <= '\n') goto yy293;
+ goto yy272;
} else {
- if (yych <= '\r') goto yy299;
- if (yych != ' ') goto yy276;
+ if (yych <= '\r') goto yy295;
+ if (yych != ' ') goto yy272;
}
-yy295:
+yy291:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy295;
- goto yy276;
+ if (yych == '\t') goto yy291;
+ goto yy272;
} else {
- if (yych <= ' ') goto yy295;
- if (yych == '"') goto yy300;
- goto yy276;
+ if (yych <= ' ') goto yy291;
+ if (yych == '"') goto yy296;
+ goto yy272;
}
-yy297:
+yy293:
++YYCURSOR;
YYCURSOR = YYCTXMARKER;
-#line 441 "../src/parse/lex.re"
+#line 431 "../src/parse/lex.re"
{
set_sourceline ();
goto code;
}
-#line 1906 "src/parse/lex.cc"
-yy299:
+#line 1884 "src/parse/lex.cc"
+yy295:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy297;
- goto yy276;
-yy300:
+ if (yych == '\n') goto yy293;
+ goto yy272;
+yy296:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= '!') {
- if (yych == '\n') goto yy276;
- goto yy300;
+ if (yych == '\n') goto yy272;
+ goto yy296;
} else {
- if (yych <= '"') goto yy302;
- if (yych == '\\') goto yy303;
- goto yy300;
+ if (yych <= '"') goto yy298;
+ if (yych == '\\') goto yy299;
+ goto yy296;
}
-yy302:
+yy298:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy297;
- if (yych == '\r') goto yy299;
- goto yy276;
-yy303:
+ if (yych == '\n') goto yy293;
+ if (yych == '\r') goto yy295;
+ goto yy272;
+yy299:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy276;
- goto yy300;
+ if (yych == '\n') goto yy272;
+ goto yy296;
}
-#line 494 "../src/parse/lex.re"
+#line 484 "../src/parse/lex.re"
comment:
-#line 1940 "src/parse/lex.cc"
+#line 1918 "src/parse/lex.cc"
{
YYCTYPE yych;
static const unsigned char yybm[] = {
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= ')') {
- if (yych == '\n') goto yy308;
+ if (yych == '\n') goto yy304;
} else {
- if (yych <= '*') goto yy310;
- if (yych == '/') goto yy311;
+ if (yych <= '*') goto yy306;
+ if (yych == '/') goto yy307;
}
++YYCURSOR;
-yy307:
-#line 526 "../src/parse/lex.re"
+yy303:
+#line 516 "../src/parse/lex.re"
{
if (cur == eof)
{
}
goto comment;
}
-#line 1995 "src/parse/lex.cc"
-yy308:
+#line 1973 "src/parse/lex.cc"
+yy304:
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yybm[0+yych] & 32) {
- goto yy312;
+ goto yy308;
}
- if (yych == '#') goto yy315;
-yy309:
-#line 517 "../src/parse/lex.re"
+ if (yych == '#') goto yy311;
+yy305:
+#line 507 "../src/parse/lex.re"
{
if (cur == eof)
{
cline++;
goto comment;
}
-#line 2013 "src/parse/lex.cc"
-yy310:
+#line 1991 "src/parse/lex.cc"
+yy306:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '/') goto yy317;
- goto yy307;
-yy311:
+ if (yych == '/') goto yy313;
+ goto yy303;
+yy307:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '*') goto yy319;
- goto yy307;
-yy312:
+ if (yych == '*') goto yy315;
+ goto yy303;
+yy308:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 32) {
- goto yy312;
+ goto yy308;
}
- if (yych == '#') goto yy315;
-yy314:
+ if (yych == '#') goto yy311;
+yy310:
YYCURSOR = YYMARKER;
- goto yy309;
-yy315:
+ goto yy305;
+yy311:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy315;
- goto yy314;
+ if (yych == '\t') goto yy311;
+ goto yy310;
} else {
- if (yych <= ' ') goto yy315;
- if (yych == 'l') goto yy321;
- goto yy314;
+ if (yych <= ' ') goto yy311;
+ if (yych == 'l') goto yy317;
+ goto yy310;
}
-yy317:
+yy313:
++YYCURSOR;
-#line 498 "../src/parse/lex.re"
+#line 488 "../src/parse/lex.re"
{
if (--depth == 0)
{
goto comment;
}
}
-#line 2058 "src/parse/lex.cc"
-yy319:
+#line 2036 "src/parse/lex.cc"
+yy315:
++YYCURSOR;
-#line 508 "../src/parse/lex.re"
+#line 498 "../src/parse/lex.re"
{
++depth;
fatal("ambiguous /* found");
goto comment;
}
-#line 2067 "src/parse/lex.cc"
-yy321:
+#line 2045 "src/parse/lex.cc"
+yy317:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != 'i') goto yy314;
+ if (yych != 'i') goto yy310;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != 'n') goto yy314;
+ if (yych != 'n') goto yy310;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != 'e') goto yy314;
+ if (yych != 'e') goto yy310;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych <= '0') goto yy326;
- if (yych <= '9') goto yy314;
- goto yy326;
-yy325:
+ if (yych <= '0') goto yy322;
+ if (yych <= '9') goto yy310;
+ goto yy322;
+yy321:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
YYCTXMARKER = YYCURSOR;
-yy326:
+yy322:
if (yych <= 0x1F) {
- if (yych == '\t') goto yy325;
- goto yy314;
+ if (yych == '\t') goto yy321;
+ goto yy310;
} else {
- if (yych <= ' ') goto yy325;
- if (yych <= '0') goto yy314;
- if (yych >= ':') goto yy314;
+ if (yych <= ' ') goto yy321;
+ if (yych <= '0') goto yy310;
+ if (yych >= ':') goto yy310;
}
-yy327:
+yy323:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 64) {
- goto yy327;
+ goto yy323;
}
if (yych <= '\f') {
- if (yych <= 0x08) goto yy314;
- if (yych <= '\t') goto yy329;
- if (yych <= '\n') goto yy331;
- goto yy314;
+ if (yych <= 0x08) goto yy310;
+ if (yych <= '\t') goto yy325;
+ if (yych <= '\n') goto yy327;
+ goto yy310;
} else {
- if (yych <= '\r') goto yy333;
- if (yych != ' ') goto yy314;
+ if (yych <= '\r') goto yy329;
+ if (yych != ' ') goto yy310;
}
-yy329:
+yy325:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= 0x1F) {
- if (yych == '\t') goto yy329;
- goto yy314;
+ if (yych == '\t') goto yy325;
+ goto yy310;
} else {
- if (yych <= ' ') goto yy329;
- if (yych == '"') goto yy334;
- goto yy314;
+ if (yych <= ' ') goto yy325;
+ if (yych == '"') goto yy330;
+ goto yy310;
}
-yy331:
+yy327:
++YYCURSOR;
YYCURSOR = YYCTXMARKER;
-#line 513 "../src/parse/lex.re"
+#line 503 "../src/parse/lex.re"
{
set_sourceline ();
goto comment;
}
-#line 2129 "src/parse/lex.cc"
-yy333:
+#line 2107 "src/parse/lex.cc"
+yy329:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy331;
- goto yy314;
-yy334:
+ if (yych == '\n') goto yy327;
+ goto yy310;
+yy330:
++YYCURSOR;
if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 128) {
- goto yy334;
+ goto yy330;
}
- if (yych <= '\n') goto yy314;
- if (yych >= '#') goto yy337;
+ if (yych <= '\n') goto yy310;
+ if (yych >= '#') goto yy333;
yych = (YYCTYPE)*++YYCURSOR;
- if (yych == '\n') goto yy331;
- if (yych == '\r') goto yy333;
- goto yy314;
-yy337:
+ if (yych == '\n') goto yy327;
+ if (yych == '\r') goto yy329;
+ goto yy310;
+yy333:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy314;
- goto yy334;
+ if (yych == '\n') goto yy310;
+ goto yy330;
}
-#line 533 "../src/parse/lex.re"
+#line 523 "../src/parse/lex.re"
nextLine:
-#line 2159 "src/parse/lex.cc"
+#line 2137 "src/parse/lex.cc"
{
YYCTYPE yych;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy342;
+ if (yych == '\n') goto yy338;
++YYCURSOR;
-#line 544 "../src/parse/lex.re"
+#line 534 "../src/parse/lex.re"
{ if(cur == eof) {
return 0;
}
goto nextLine;
}
-#line 2172 "src/parse/lex.cc"
-yy342:
+#line 2150 "src/parse/lex.cc"
+yy338:
++YYCURSOR;
-#line 537 "../src/parse/lex.re"
+#line 527 "../src/parse/lex.re"
{ if(cur == eof) {
return 0;
}
cline++;
goto scan;
}
-#line 2183 "src/parse/lex.cc"
+#line 2161 "src/parse/lex.cc"
}
-#line 549 "../src/parse/lex.re"
+#line 539 "../src/parse/lex.re"
}
uint32_t u, l;
fst:
-#line 2209 "src/parse/lex.cc"
+#line 2187 "src/parse/lex.cc"
{
YYCTYPE yych;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == ']') goto yy347;
-#line 573 "../src/parse/lex.re"
+ if (yych == ']') goto yy343;
+#line 563 "../src/parse/lex.re"
{ l = lex_cls_chr(); goto snd; }
-#line 2217 "src/parse/lex.cc"
-yy347:
+#line 2195 "src/parse/lex.cc"
+yy343:
++YYCURSOR;
-#line 572 "../src/parse/lex.re"
+#line 562 "../src/parse/lex.re"
{ goto end; }
-#line 2222 "src/parse/lex.cc"
+#line 2200 "src/parse/lex.cc"
}
-#line 574 "../src/parse/lex.re"
+#line 564 "../src/parse/lex.re"
snd:
-#line 2228 "src/parse/lex.cc"
+#line 2206 "src/parse/lex.cc"
{
YYCTYPE yych;
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*(YYMARKER = YYCURSOR);
- if (yych == '-') goto yy352;
-yy351:
-#line 577 "../src/parse/lex.re"
+ if (yych == '-') goto yy348;
+yy347:
+#line 567 "../src/parse/lex.re"
{ u = l; goto add; }
-#line 2237 "src/parse/lex.cc"
-yy352:
+#line 2215 "src/parse/lex.cc"
+yy348:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych != ']') goto yy354;
+ if (yych != ']') goto yy350;
YYCURSOR = YYMARKER;
- goto yy351;
-yy354:
+ goto yy347;
+yy350:
++YYCURSOR;
YYCURSOR -= 1;
-#line 578 "../src/parse/lex.re"
+#line 568 "../src/parse/lex.re"
{
u = lex_cls_chr();
if (l > u) {
}
goto add;
}
-#line 2255 "src/parse/lex.cc"
+#line 2233 "src/parse/lex.cc"
}
-#line 586 "../src/parse/lex.re"
+#line 576 "../src/parse/lex.re"
add:
if (!(s = opts->encoding.encodeRange(l, u))) {
{
tok = cur;
-#line 2276 "src/parse/lex.cc"
+#line 2254 "src/parse/lex.cc"
{
YYCTYPE yych;
unsigned int yyaccept = 0;
if ((YYLIMIT - YYCURSOR) < 10) YYFILL(10);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy360;
- if (yych == '\\') goto yy362;
+ if (yych == '\n') goto yy356;
+ if (yych == '\\') goto yy358;
++YYCURSOR;
-#line 609 "../src/parse/lex.re"
+#line 599 "../src/parse/lex.re"
{ return static_cast<uint8_t>(tok[0]); }
-#line 2287 "src/parse/lex.cc"
-yy360:
+#line 2265 "src/parse/lex.cc"
+yy356:
++YYCURSOR;
-#line 604 "../src/parse/lex.re"
+#line 594 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error"); }
-#line 2292 "src/parse/lex.cc"
-yy362:
+#line 2270 "src/parse/lex.cc"
+yy358:
++YYCURSOR;
if ((yych = (YYCTYPE)*YYCURSOR) <= '`') {
if (yych <= '7') {
if (yych <= ',') {
- if (yych != '\n') goto yy364;
+ if (yych != '\n') goto yy360;
} else {
- if (yych <= '-') goto yy366;
- if (yych <= '/') goto yy364;
- if (yych <= '3') goto yy368;
- goto yy370;
+ if (yych <= '-') goto yy362;
+ if (yych <= '/') goto yy360;
+ if (yych <= '3') goto yy364;
+ goto yy366;
}
} else {
if (yych <= 'X') {
- if (yych == 'U') goto yy371;
- if (yych <= 'W') goto yy364;
- goto yy373;
+ if (yych == 'U') goto yy367;
+ if (yych <= 'W') goto yy360;
+ goto yy369;
} else {
- if (yych <= '[') goto yy364;
- if (yych <= '\\') goto yy374;
- if (yych <= ']') goto yy376;
- goto yy364;
+ if (yych <= '[') goto yy360;
+ if (yych <= '\\') goto yy370;
+ if (yych <= ']') goto yy372;
+ goto yy360;
}
}
} else {
if (yych <= 'q') {
if (yych <= 'e') {
- if (yych <= 'a') goto yy378;
- if (yych <= 'b') goto yy380;
- goto yy364;
+ if (yych <= 'a') goto yy374;
+ if (yych <= 'b') goto yy376;
+ goto yy360;
} else {
- if (yych <= 'f') goto yy382;
- if (yych == 'n') goto yy384;
- goto yy364;
+ if (yych <= 'f') goto yy378;
+ if (yych == 'n') goto yy380;
+ goto yy360;
}
} else {
if (yych <= 'u') {
- if (yych <= 'r') goto yy386;
- if (yych <= 's') goto yy364;
- if (yych <= 't') goto yy388;
- goto yy373;
+ if (yych <= 'r') goto yy382;
+ if (yych <= 's') goto yy360;
+ if (yych <= 't') goto yy384;
+ goto yy369;
} else {
- if (yych <= 'v') goto yy390;
- if (yych == 'x') goto yy392;
- goto yy364;
+ if (yych <= 'v') goto yy386;
+ if (yych == 'x') goto yy388;
+ goto yy360;
}
}
}
-#line 607 "../src/parse/lex.re"
+#line 597 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error in escape sequence"); }
-#line 2343 "src/parse/lex.cc"
-yy364:
+#line 2321 "src/parse/lex.cc"
+yy360:
++YYCURSOR;
-#line 622 "../src/parse/lex.re"
+#line 612 "../src/parse/lex.re"
{
warn.useless_escape(tline, tok - pos, tok[1]);
return static_cast<uint8_t>(tok[1]);
}
-#line 2351 "src/parse/lex.cc"
-yy366:
+#line 2329 "src/parse/lex.cc"
+yy362:
++YYCURSOR;
-#line 620 "../src/parse/lex.re"
+#line 610 "../src/parse/lex.re"
{ return static_cast<uint8_t>('-'); }
-#line 2356 "src/parse/lex.cc"
-yy368:
+#line 2334 "src/parse/lex.cc"
+yy364:
yyaccept = 0;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych <= '/') goto yy369;
- if (yych <= '7') goto yy393;
-yy369:
-#line 606 "../src/parse/lex.re"
+ if (yych <= '/') goto yy365;
+ if (yych <= '7') goto yy389;
+yy365:
+#line 596 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error in octal escape sequence"); }
-#line 2365 "src/parse/lex.cc"
-yy370:
+#line 2343 "src/parse/lex.cc"
+yy366:
yych = (YYCTYPE)*++YYCURSOR;
- goto yy369;
-yy371:
+ goto yy365;
+yy367:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '@') {
- if (yych <= '/') goto yy372;
- if (yych <= '9') goto yy395;
+ if (yych <= '/') goto yy368;
+ if (yych <= '9') goto yy391;
} else {
- if (yych <= 'F') goto yy395;
- if (yych <= '`') goto yy372;
- if (yych <= 'f') goto yy395;
+ if (yych <= 'F') goto yy391;
+ if (yych <= '`') goto yy368;
+ if (yych <= 'f') goto yy391;
}
-yy372:
-#line 605 "../src/parse/lex.re"
+yy368:
+#line 595 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error in hexadecimal escape sequence"); }
-#line 2383 "src/parse/lex.cc"
-yy373:
+#line 2361 "src/parse/lex.cc"
+yy369:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '@') {
- if (yych <= '/') goto yy372;
- if (yych <= '9') goto yy396;
- goto yy372;
+ if (yych <= '/') goto yy368;
+ if (yych <= '9') goto yy392;
+ goto yy368;
} else {
- if (yych <= 'F') goto yy396;
- if (yych <= '`') goto yy372;
- if (yych <= 'f') goto yy396;
- goto yy372;
+ if (yych <= 'F') goto yy392;
+ if (yych <= '`') goto yy368;
+ if (yych <= 'f') goto yy392;
+ goto yy368;
}
-yy374:
+yy370:
++YYCURSOR;
-#line 619 "../src/parse/lex.re"
+#line 609 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\\'); }
-#line 2401 "src/parse/lex.cc"
-yy376:
+#line 2379 "src/parse/lex.cc"
+yy372:
++YYCURSOR;
-#line 621 "../src/parse/lex.re"
+#line 611 "../src/parse/lex.re"
{ return static_cast<uint8_t>(']'); }
-#line 2406 "src/parse/lex.cc"
-yy378:
+#line 2384 "src/parse/lex.cc"
+yy374:
++YYCURSOR;
-#line 612 "../src/parse/lex.re"
+#line 602 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\a'); }
-#line 2411 "src/parse/lex.cc"
-yy380:
+#line 2389 "src/parse/lex.cc"
+yy376:
++YYCURSOR;
-#line 613 "../src/parse/lex.re"
+#line 603 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\b'); }
-#line 2416 "src/parse/lex.cc"
-yy382:
+#line 2394 "src/parse/lex.cc"
+yy378:
++YYCURSOR;
-#line 614 "../src/parse/lex.re"
+#line 604 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\f'); }
-#line 2421 "src/parse/lex.cc"
-yy384:
+#line 2399 "src/parse/lex.cc"
+yy380:
++YYCURSOR;
-#line 615 "../src/parse/lex.re"
+#line 605 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\n'); }
-#line 2426 "src/parse/lex.cc"
-yy386:
+#line 2404 "src/parse/lex.cc"
+yy382:
++YYCURSOR;
-#line 616 "../src/parse/lex.re"
+#line 606 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\r'); }
-#line 2431 "src/parse/lex.cc"
-yy388:
+#line 2409 "src/parse/lex.cc"
+yy384:
++YYCURSOR;
-#line 617 "../src/parse/lex.re"
+#line 607 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\t'); }
-#line 2436 "src/parse/lex.cc"
-yy390:
+#line 2414 "src/parse/lex.cc"
+yy386:
++YYCURSOR;
-#line 618 "../src/parse/lex.re"
+#line 608 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\v'); }
-#line 2441 "src/parse/lex.cc"
-yy392:
+#line 2419 "src/parse/lex.cc"
+yy388:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '@') {
- if (yych <= '/') goto yy372;
- if (yych <= '9') goto yy397;
- goto yy372;
+ if (yych <= '/') goto yy368;
+ if (yych <= '9') goto yy393;
+ goto yy368;
} else {
- if (yych <= 'F') goto yy397;
- if (yych <= '`') goto yy372;
- if (yych <= 'f') goto yy397;
- goto yy372;
+ if (yych <= 'F') goto yy393;
+ if (yych <= '`') goto yy368;
+ if (yych <= 'f') goto yy393;
+ goto yy368;
}
-yy393:
+yy389:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych <= '/') goto yy394;
- if (yych <= '7') goto yy398;
-yy394:
+ if (yych <= '/') goto yy390;
+ if (yych <= '7') goto yy394;
+yy390:
YYCURSOR = YYMARKER;
if (yyaccept == 0) {
- goto yy369;
+ goto yy365;
} else {
- goto yy372;
+ goto yy368;
}
-yy395:
+yy391:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy394;
- if (yych <= '9') goto yy400;
- goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych <= '9') goto yy396;
+ goto yy390;
} else {
- if (yych <= 'F') goto yy400;
- if (yych <= '`') goto yy394;
- if (yych <= 'f') goto yy400;
- goto yy394;
+ if (yych <= 'F') goto yy396;
+ if (yych <= '`') goto yy390;
+ if (yych <= 'f') goto yy396;
+ goto yy390;
}
-yy396:
+yy392:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy394;
- if (yych <= '9') goto yy401;
- goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych <= '9') goto yy397;
+ goto yy390;
} else {
- if (yych <= 'F') goto yy401;
- if (yych <= '`') goto yy394;
- if (yych <= 'f') goto yy401;
- goto yy394;
+ if (yych <= 'F') goto yy397;
+ if (yych <= '`') goto yy390;
+ if (yych <= 'f') goto yy397;
+ goto yy390;
}
-yy397:
+yy393:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy394;
- if (yych <= '9') goto yy402;
- goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych <= '9') goto yy398;
+ goto yy390;
} else {
- if (yych <= 'F') goto yy402;
- if (yych <= '`') goto yy394;
- if (yych <= 'f') goto yy402;
- goto yy394;
+ if (yych <= 'F') goto yy398;
+ if (yych <= '`') goto yy390;
+ if (yych <= 'f') goto yy398;
+ goto yy390;
}
-yy398:
+yy394:
++YYCURSOR;
-#line 611 "../src/parse/lex.re"
+#line 601 "../src/parse/lex.re"
{ return unesc_oct(tok, cur); }
-#line 2506 "src/parse/lex.cc"
-yy400:
+#line 2484 "src/parse/lex.cc"
+yy396:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy394;
- if (yych <= '9') goto yy404;
- goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych <= '9') goto yy400;
+ goto yy390;
} else {
- if (yych <= 'F') goto yy404;
- if (yych <= '`') goto yy394;
- if (yych <= 'f') goto yy404;
- goto yy394;
+ if (yych <= 'F') goto yy400;
+ if (yych <= '`') goto yy390;
+ if (yych <= 'f') goto yy400;
+ goto yy390;
}
-yy401:
+yy397:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy394;
- if (yych <= '9') goto yy397;
- goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych <= '9') goto yy393;
+ goto yy390;
} else {
- if (yych <= 'F') goto yy397;
- if (yych <= '`') goto yy394;
- if (yych <= 'f') goto yy397;
- goto yy394;
+ if (yych <= 'F') goto yy393;
+ if (yych <= '`') goto yy390;
+ if (yych <= 'f') goto yy393;
+ goto yy390;
}
-yy402:
+yy398:
++YYCURSOR;
-#line 610 "../src/parse/lex.re"
+#line 600 "../src/parse/lex.re"
{ return unesc_hex(tok, cur); }
-#line 2535 "src/parse/lex.cc"
-yy404:
+#line 2513 "src/parse/lex.cc"
+yy400:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy394;
- if (yych >= ':') goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych >= ':') goto yy390;
} else {
- if (yych <= 'F') goto yy405;
- if (yych <= '`') goto yy394;
- if (yych >= 'g') goto yy394;
+ if (yych <= 'F') goto yy401;
+ if (yych <= '`') goto yy390;
+ if (yych >= 'g') goto yy390;
}
-yy405:
+yy401:
++YYCURSOR;
if ((yych = (YYCTYPE)*YYCURSOR) <= '@') {
- if (yych <= '/') goto yy394;
- if (yych <= '9') goto yy396;
- goto yy394;
+ if (yych <= '/') goto yy390;
+ if (yych <= '9') goto yy392;
+ goto yy390;
} else {
- if (yych <= 'F') goto yy396;
- if (yych <= '`') goto yy394;
- if (yych <= 'f') goto yy396;
- goto yy394;
+ if (yych <= 'F') goto yy392;
+ if (yych <= '`') goto yy390;
+ if (yych <= 'f') goto yy392;
+ goto yy390;
}
}
-#line 626 "../src/parse/lex.re"
+#line 616 "../src/parse/lex.re"
}
end = false;
tok = cur;
-#line 2568 "src/parse/lex.cc"
+#line 2546 "src/parse/lex.cc"
{
YYCTYPE yych;
unsigned int yyaccept = 0;
if ((YYLIMIT - YYCURSOR) < 10) YYFILL(10);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy410;
- if (yych == '\\') goto yy412;
+ if (yych == '\n') goto yy406;
+ if (yych == '\\') goto yy408;
++YYCURSOR;
-#line 639 "../src/parse/lex.re"
+#line 629 "../src/parse/lex.re"
{
end = tok[0] == quote;
return static_cast<uint8_t>(tok[0]);
}
-#line 2582 "src/parse/lex.cc"
-yy410:
+#line 2560 "src/parse/lex.cc"
+yy406:
++YYCURSOR;
-#line 634 "../src/parse/lex.re"
+#line 624 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error"); }
-#line 2587 "src/parse/lex.cc"
-yy412:
+#line 2565 "src/parse/lex.cc"
+yy408:
++YYCURSOR;
if ((yych = (YYCTYPE)*YYCURSOR) <= 'a') {
if (yych <= 'T') {
if (yych <= '/') {
- if (yych != '\n') goto yy414;
+ if (yych != '\n') goto yy410;
} else {
- if (yych <= '3') goto yy416;
- if (yych <= '7') goto yy418;
- goto yy414;
+ if (yych <= '3') goto yy412;
+ if (yych <= '7') goto yy414;
+ goto yy410;
}
} else {
if (yych <= 'X') {
- if (yych <= 'U') goto yy419;
- if (yych <= 'W') goto yy414;
- goto yy421;
+ if (yych <= 'U') goto yy415;
+ if (yych <= 'W') goto yy410;
+ goto yy417;
} else {
- if (yych == '\\') goto yy422;
- if (yych <= '`') goto yy414;
- goto yy424;
+ if (yych == '\\') goto yy418;
+ if (yych <= '`') goto yy410;
+ goto yy420;
}
}
} else {
if (yych <= 'r') {
if (yych <= 'f') {
- if (yych <= 'b') goto yy426;
- if (yych <= 'e') goto yy414;
- goto yy428;
+ if (yych <= 'b') goto yy422;
+ if (yych <= 'e') goto yy410;
+ goto yy424;
} else {
- if (yych == 'n') goto yy430;
- if (yych <= 'q') goto yy414;
- goto yy432;
+ if (yych == 'n') goto yy426;
+ if (yych <= 'q') goto yy410;
+ goto yy428;
}
} else {
if (yych <= 'u') {
- if (yych <= 's') goto yy414;
- if (yych <= 't') goto yy434;
- goto yy421;
+ if (yych <= 's') goto yy410;
+ if (yych <= 't') goto yy430;
+ goto yy417;
} else {
- if (yych <= 'v') goto yy436;
- if (yych == 'x') goto yy438;
- goto yy414;
+ if (yych <= 'v') goto yy432;
+ if (yych == 'x') goto yy434;
+ goto yy410;
}
}
}
-#line 637 "../src/parse/lex.re"
+#line 627 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error in escape sequence"); }
-#line 2635 "src/parse/lex.cc"
-yy414:
+#line 2613 "src/parse/lex.cc"
+yy410:
++YYCURSOR;
-#line 653 "../src/parse/lex.re"
+#line 643 "../src/parse/lex.re"
{
if (tok[1] != quote) {
warn.useless_escape(tline, tok - pos, tok[1]);
}
return static_cast<uint8_t>(tok[1]);
}
-#line 2645 "src/parse/lex.cc"
-yy416:
+#line 2623 "src/parse/lex.cc"
+yy412:
yyaccept = 0;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych <= '/') goto yy417;
- if (yych <= '7') goto yy439;
-yy417:
-#line 636 "../src/parse/lex.re"
+ if (yych <= '/') goto yy413;
+ if (yych <= '7') goto yy435;
+yy413:
+#line 626 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error in octal escape sequence"); }
-#line 2654 "src/parse/lex.cc"
-yy418:
+#line 2632 "src/parse/lex.cc"
+yy414:
yych = (YYCTYPE)*++YYCURSOR;
- goto yy417;
-yy419:
+ goto yy413;
+yy415:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '@') {
- if (yych <= '/') goto yy420;
- if (yych <= '9') goto yy441;
+ if (yych <= '/') goto yy416;
+ if (yych <= '9') goto yy437;
} else {
- if (yych <= 'F') goto yy441;
- if (yych <= '`') goto yy420;
- if (yych <= 'f') goto yy441;
+ if (yych <= 'F') goto yy437;
+ if (yych <= '`') goto yy416;
+ if (yych <= 'f') goto yy437;
}
-yy420:
-#line 635 "../src/parse/lex.re"
+yy416:
+#line 625 "../src/parse/lex.re"
{ fatal ((tok - pos) - tchar, "syntax error in hexadecimal escape sequence"); }
-#line 2672 "src/parse/lex.cc"
-yy421:
+#line 2650 "src/parse/lex.cc"
+yy417:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '@') {
- if (yych <= '/') goto yy420;
- if (yych <= '9') goto yy442;
- goto yy420;
+ if (yych <= '/') goto yy416;
+ if (yych <= '9') goto yy438;
+ goto yy416;
} else {
- if (yych <= 'F') goto yy442;
- if (yych <= '`') goto yy420;
- if (yych <= 'f') goto yy442;
- goto yy420;
+ if (yych <= 'F') goto yy438;
+ if (yych <= '`') goto yy416;
+ if (yych <= 'f') goto yy438;
+ goto yy416;
}
-yy422:
+yy418:
++YYCURSOR;
-#line 652 "../src/parse/lex.re"
+#line 642 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\\'); }
-#line 2690 "src/parse/lex.cc"
-yy424:
+#line 2668 "src/parse/lex.cc"
+yy420:
++YYCURSOR;
-#line 645 "../src/parse/lex.re"
+#line 635 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\a'); }
-#line 2695 "src/parse/lex.cc"
-yy426:
+#line 2673 "src/parse/lex.cc"
+yy422:
++YYCURSOR;
-#line 646 "../src/parse/lex.re"
+#line 636 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\b'); }
-#line 2700 "src/parse/lex.cc"
-yy428:
+#line 2678 "src/parse/lex.cc"
+yy424:
++YYCURSOR;
-#line 647 "../src/parse/lex.re"
+#line 637 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\f'); }
-#line 2705 "src/parse/lex.cc"
-yy430:
+#line 2683 "src/parse/lex.cc"
+yy426:
++YYCURSOR;
-#line 648 "../src/parse/lex.re"
+#line 638 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\n'); }
-#line 2710 "src/parse/lex.cc"
-yy432:
+#line 2688 "src/parse/lex.cc"
+yy428:
++YYCURSOR;
-#line 649 "../src/parse/lex.re"
+#line 639 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\r'); }
-#line 2715 "src/parse/lex.cc"
-yy434:
+#line 2693 "src/parse/lex.cc"
+yy430:
++YYCURSOR;
-#line 650 "../src/parse/lex.re"
+#line 640 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\t'); }
-#line 2720 "src/parse/lex.cc"
-yy436:
+#line 2698 "src/parse/lex.cc"
+yy432:
++YYCURSOR;
-#line 651 "../src/parse/lex.re"
+#line 641 "../src/parse/lex.re"
{ return static_cast<uint8_t>('\v'); }
-#line 2725 "src/parse/lex.cc"
-yy438:
+#line 2703 "src/parse/lex.cc"
+yy434:
yyaccept = 1;
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
if (yych <= '@') {
- if (yych <= '/') goto yy420;
- if (yych <= '9') goto yy443;
- goto yy420;
+ if (yych <= '/') goto yy416;
+ if (yych <= '9') goto yy439;
+ goto yy416;
} else {
- if (yych <= 'F') goto yy443;
- if (yych <= '`') goto yy420;
- if (yych <= 'f') goto yy443;
- goto yy420;
+ if (yych <= 'F') goto yy439;
+ if (yych <= '`') goto yy416;
+ if (yych <= 'f') goto yy439;
+ goto yy416;
}
-yy439:
+yy435:
yych = (YYCTYPE)*++YYCURSOR;
- if (yych <= '/') goto yy440;
- if (yych <= '7') goto yy444;
-yy440:
+ if (yych <= '/') goto yy436;
+ if (yych <= '7') goto yy440;
+yy436:
YYCURSOR = YYMARKER;
if (yyaccept == 0) {
- goto yy417;
+ goto yy413;
} else {
- goto yy420;
+ goto yy416;
}
-yy441:
+yy437:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy440;
- if (yych <= '9') goto yy446;
- goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych <= '9') goto yy442;
+ goto yy436;
} else {
- if (yych <= 'F') goto yy446;
- if (yych <= '`') goto yy440;
- if (yych <= 'f') goto yy446;
- goto yy440;
+ if (yych <= 'F') goto yy442;
+ if (yych <= '`') goto yy436;
+ if (yych <= 'f') goto yy442;
+ goto yy436;
}
-yy442:
+yy438:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy440;
- if (yych <= '9') goto yy447;
- goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych <= '9') goto yy443;
+ goto yy436;
} else {
- if (yych <= 'F') goto yy447;
- if (yych <= '`') goto yy440;
- if (yych <= 'f') goto yy447;
- goto yy440;
+ if (yych <= 'F') goto yy443;
+ if (yych <= '`') goto yy436;
+ if (yych <= 'f') goto yy443;
+ goto yy436;
}
-yy443:
+yy439:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy440;
- if (yych <= '9') goto yy448;
- goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych <= '9') goto yy444;
+ goto yy436;
} else {
- if (yych <= 'F') goto yy448;
- if (yych <= '`') goto yy440;
- if (yych <= 'f') goto yy448;
- goto yy440;
+ if (yych <= 'F') goto yy444;
+ if (yych <= '`') goto yy436;
+ if (yych <= 'f') goto yy444;
+ goto yy436;
}
-yy444:
+yy440:
++YYCURSOR;
-#line 644 "../src/parse/lex.re"
+#line 634 "../src/parse/lex.re"
{ return unesc_oct(tok, cur); }
-#line 2790 "src/parse/lex.cc"
-yy446:
+#line 2768 "src/parse/lex.cc"
+yy442:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy440;
- if (yych <= '9') goto yy450;
- goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych <= '9') goto yy446;
+ goto yy436;
} else {
- if (yych <= 'F') goto yy450;
- if (yych <= '`') goto yy440;
- if (yych <= 'f') goto yy450;
- goto yy440;
+ if (yych <= 'F') goto yy446;
+ if (yych <= '`') goto yy436;
+ if (yych <= 'f') goto yy446;
+ goto yy436;
}
-yy447:
+yy443:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy440;
- if (yych <= '9') goto yy443;
- goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych <= '9') goto yy439;
+ goto yy436;
} else {
- if (yych <= 'F') goto yy443;
- if (yych <= '`') goto yy440;
- if (yych <= 'f') goto yy443;
- goto yy440;
+ if (yych <= 'F') goto yy439;
+ if (yych <= '`') goto yy436;
+ if (yych <= 'f') goto yy439;
+ goto yy436;
}
-yy448:
+yy444:
++YYCURSOR;
-#line 643 "../src/parse/lex.re"
+#line 633 "../src/parse/lex.re"
{ return unesc_hex(tok, cur); }
-#line 2819 "src/parse/lex.cc"
-yy450:
+#line 2797 "src/parse/lex.cc"
+yy446:
yych = (YYCTYPE)*++YYCURSOR;
if (yych <= '@') {
- if (yych <= '/') goto yy440;
- if (yych >= ':') goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych >= ':') goto yy436;
} else {
- if (yych <= 'F') goto yy451;
- if (yych <= '`') goto yy440;
- if (yych >= 'g') goto yy440;
+ if (yych <= 'F') goto yy447;
+ if (yych <= '`') goto yy436;
+ if (yych >= 'g') goto yy436;
}
-yy451:
+yy447:
++YYCURSOR;
if ((yych = (YYCTYPE)*YYCURSOR) <= '@') {
- if (yych <= '/') goto yy440;
- if (yych <= '9') goto yy442;
- goto yy440;
+ if (yych <= '/') goto yy436;
+ if (yych <= '9') goto yy438;
+ goto yy436;
} else {
- if (yych <= 'F') goto yy442;
- if (yych <= '`') goto yy440;
- if (yych <= 'f') goto yy442;
- goto yy440;
+ if (yych <= 'F') goto yy438;
+ if (yych <= '`') goto yy436;
+ if (yych <= 'f') goto yy438;
+ goto yy436;
}
}
-#line 659 "../src/parse/lex.re"
+#line 649 "../src/parse/lex.re"
}
sourceline:
tok = cur;
-#line 2864 "src/parse/lex.cc"
+#line 2842 "src/parse/lex.cc"
{
YYCTYPE yych;
static const unsigned char yybm[] = {
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = (YYCTYPE)*YYCURSOR;
if (yych <= '!') {
- if (yych == '\n') goto yy456;
+ if (yych == '\n') goto yy452;
} else {
- if (yych <= '"') goto yy458;
- if (yych <= '0') goto yy454;
- if (yych <= '9') goto yy459;
+ if (yych <= '"') goto yy454;
+ if (yych <= '0') goto yy450;
+ if (yych <= '9') goto yy455;
}
-yy454:
+yy450:
++YYCURSOR;
-yy455:
-#line 702 "../src/parse/lex.re"
+yy451:
+#line 692 "../src/parse/lex.re"
{
goto sourceline;
}
-#line 2917 "src/parse/lex.cc"
-yy456:
+#line 2895 "src/parse/lex.cc"
+yy452:
++YYCURSOR;
-#line 690 "../src/parse/lex.re"
+#line 680 "../src/parse/lex.re"
{
if (cur == eof)
{
tok = cur;
return;
}
-#line 2933 "src/parse/lex.cc"
-yy458:
+#line 2911 "src/parse/lex.cc"
+yy454:
yych = (YYCTYPE)*(YYMARKER = ++YYCURSOR);
- if (yych == '\n') goto yy455;
- goto yy463;
-yy459:
+ if (yych == '\n') goto yy451;
+ goto yy459;
+yy455:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
if (yybm[0+yych] & 64) {
- goto yy459;
+ goto yy455;
}
-#line 679 "../src/parse/lex.re"
+#line 669 "../src/parse/lex.re"
{
if (!s_to_u32_unsafe (tok, cur, cline))
{
}
goto sourceline;
}
-#line 2953 "src/parse/lex.cc"
-yy462:
+#line 2931 "src/parse/lex.cc"
+yy458:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
-yy463:
+yy459:
if (yybm[0+yych] & 128) {
- goto yy462;
+ goto yy458;
}
- if (yych <= '\n') goto yy464;
- if (yych <= '"') goto yy465;
- goto yy467;
-yy464:
+ if (yych <= '\n') goto yy460;
+ if (yych <= '"') goto yy461;
+ goto yy463;
+yy460:
YYCURSOR = YYMARKER;
- goto yy455;
-yy465:
+ goto yy451;
+yy461:
++YYCURSOR;
-#line 686 "../src/parse/lex.re"
+#line 676 "../src/parse/lex.re"
{
escape (in.file_name, std::string (tok + 1, tok_len () - 2)); // -2 to omit quotes
goto sourceline;
}
-#line 2975 "src/parse/lex.cc"
-yy467:
+#line 2953 "src/parse/lex.cc"
+yy463:
++YYCURSOR;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = (YYCTYPE)*YYCURSOR;
- if (yych == '\n') goto yy464;
- goto yy462;
+ if (yych == '\n') goto yy460;
+ goto yy458;
}
-#line 705 "../src/parse/lex.re"
+#line 695 "../src/parse/lex.re"
}