Changeset 61fc4f6 for src/Parser/parser.yy
- Timestamp:
- Apr 29, 2018, 8:58:08 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 5e5dbc2
- Parents:
- db98cd5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rdb98cd5 r61fc4f6 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : S at Apr 28 09:37:03201813 // Update Count : 320 112 // Last Modified On : Sun Apr 29 14:20:17 2018 13 // Update Count : 3206 14 14 // 15 15 … … 208 208 %token<tok> ATTR_IDENTIFIER ATTR_TYPEDEFname ATTR_TYPEGENname 209 209 %token<tok> INTEGERconstant CHARACTERconstant STRINGliteral 210 %token<tok> DIRECTIVE 210 211 // Floating point constant is broken into three kinds of tokens because of the ambiguity with tuple indexing and 211 212 // overloading constants 0/1, e.g., x.1 is lexed as (x)(.1), where (.1) is a factional constant, but is semantically … … 875 876 { SemanticError( yylloc, "enable/disable statement is currently unimplemented." ); $$ = nullptr; } 876 877 | asm_statement 878 | DIRECTIVE 879 { $$ = new StatementNode( build_dirstmt( $1 ) ); } 877 880 ; 878 881
Note: See TracChangeset
for help on using the changeset viewer.