Home | History | Annotate | Download | only in fgen

Lines Matching refs:STATE

75  * Global variables that control the parse state.
81 static int state = 0;
104 #define STATE(y, x) do { if (debug) printf("%lx State %s: token `%s'\n", outpos, x, y); } while (0)
127 \\[^\n]*\n /* end of line comment -- keep looping */ { STATE(yytext, "EOL comment"); }
528 { "state", 0x00dc, 0, NULL, NULL },
1090 STATE(token->text, "TOK_NUMBER");
1126 STATE(token->text, "TOK_C_LIT");
1134 STATE(token->text, "TOK_STRING_LIT:");
1157 STATE(token->text, "TOK_PSTRING:");
1179 STATE(token->text, "TOK_PSTRING:");
1217 STATE(token->text, "TOK_TOKENIZE");
1222 STATE(token->text, "TOK_COMMENT:");
1229 STATE(token->text, "TOK_COLON:");
1250 if (state == 0)
1253 if (state == TOK_EXTERNAL)
1266 STATE(token->text, "TOK_SEMICOLON:");
1279 STATE(token->text, "TOK_AGAIN");
1286 STATE(token->text, "TOK_ALIAS");
1316 STATE(token->text, "TOK_GETTOKEN");
1330 STATE(token->text, "TOK_ASCII");
1341 STATE(token->text, "TOK_BEGIN");
1346 STATE(token->text, "TOK_BUFFER");
1360 if (state == 0)
1363 if (state == TOK_EXTERNAL)
1374 STATE(token->text, "TOK_CASE");
1379 STATE(token->text, "TOK_CONSTANT");
1393 if (state == 0)
1396 if (state == TOK_EXTERNAL)
1407 STATE(token->text, "TOK_CONTROL");
1418 STATE(token->text, "TOK_CREATE");
1432 if (state == 0)
1435 if (state == TOK_EXTERNAL)
1446 STATE(token->text, "TOK_DECIMAL");
1499 STATE(token->text, "TOK_DEFER");
1513 if (state == 0)
1516 if (state == TOK_EXTERNAL)
1527 STATE(token->text, "TOK_DO");
1555 STATE(token->text, "TOK_END0");
1561 STATE(token->text, "TOK_ELSE");
1578 STATE(token->text, "TOK_ENDCASE:");
1610 STATE(token->text, "TOK_ENDOF");
1634 STATE(token->text, "TOK_EXTERNAL");
1635 state = TOK_EXTERNAL;
1639 STATE(token->text, "TOK_FCODE_VERSION2");
1653 STATE(token->text, "TOK_FCODE_END");
1656 STATE(token->text, "TOK_FIELD");
1670 if (state == 0)
1673 if (state == TOK_EXTERNAL)
1685 STATE(token->text, "TOK_HEX");
1732 STATE(token->text, "TOK_HEADERLESS");
1733 state = 0;
1736 STATE(token->text, "TOK_HEADERS");
1737 state = TOK_HEADERS;
1740 STATE(token->text, "TOK_IF");
1749 STATE(token->text, "TOK_LEAVE");
1753 STATE(token->text, "TOK_LOOP");
1772 STATE
1816 STATE(token->text, "TOK_OF");
1835 STATE(token->text, "TOK_OFFSET16");
1840 STATE(token->text, "TOK_REPEAT");
1858 STATE(token->text, "TOK_FCODE_VERSION2");
1866 STATE(token->text, "TOK_THEN");
1875 STATE(token->text, "TOK_TO");
1880 STATE(token->text, "TOK_UNTIL");
1887 STATE(token->text, "TOK_VALUE");
1901 if (state == 0)
1904 if (state == TOK_EXTERNAL)
1915 STATE(token->text, "TOK_VARIABLE");
1929 if (state == 0)
1932 if (state == TOK_EXTERNAL)
1944 STATE(token->text, "TOK_FCODE_VERSION1");
1952 STATE(token->text, "TOK_WHILE");
1960 STATE(token->text, "TOK_BEGTOK");
1964 STATE(token->text, "TOK_EMIT_BYTE");
1968 STATE(token->text, "TOK_ENDTOK");
1975 STATE(token->text, "TOK_FLOAD");
2028 STATE(token->text, "TOK_OTHER");