Changeset 28e58fd for src/Parser/lex.ll
- Timestamp:
- Aug 25, 2017, 10:38:34 AM (8 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, resolv-new, with_gc
- Children:
- 800d275
- Parents:
- af08051 (diff), 3eab308c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/lex.ll
raf08051 r28e58fd 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : T hu Jul 27 21:46:06201713 * Update Count : 55 012 * Last Modified On : Tue Aug 22 22:43:39 2017 13 * Update Count : 558 14 14 */ 15 15 … … 45 45 #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant 46 46 #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword 47 #define QKEYWORD_RETURN(x) typedefTable.isKind( yytext ); RETURN_VAL(x); // quasi-keyword 47 48 #define IDENTIFIER_RETURN() RETURN_VAL( typedefTable.isKind( yytext ) ) 48 49 #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) … … 236 237 __label__ { KEYWORD_RETURN(LABEL); } // GCC 237 238 long { KEYWORD_RETURN(LONG); } 238 lvalue { KEYWORD_RETURN(LVALUE); } // CFA239 239 monitor { KEYWORD_RETURN(MONITOR); } // CFA 240 240 mutex { KEYWORD_RETURN(MUTEX); } // CFA … … 261 261 throw { KEYWORD_RETURN(THROW); } // CFA 262 262 throwResume { KEYWORD_RETURN(THROWRESUME); } // CFA 263 timeout { QKEYWORD_RETURN(TIMEOUT); } // CFA 263 264 trait { KEYWORD_RETURN(TRAIT); } // CFA 264 265 try { KEYWORD_RETURN(TRY); } // CFA … … 277 278 __volatile { KEYWORD_RETURN(VOLATILE); } // GCC 278 279 __volatile__ { KEYWORD_RETURN(VOLATILE); } // GCC 280 waitfor { KEYWORD_RETURN(WAITFOR); } 281 or { QKEYWORD_RETURN(WOR); } // CFA 282 when { KEYWORD_RETURN(WHEN); } 279 283 while { KEYWORD_RETURN(WHILE); } 280 284 with { KEYWORD_RETURN(WITH); } // CFA
Note:
See TracChangeset
for help on using the changeset viewer.