Changeset 5b2edbc for src/Parser/lex.ll
- Timestamp:
- Aug 23, 2017, 3:00:45 PM (7 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:
- 66b8773
- Parents:
- 0bfe750
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/lex.ll
r0bfe750 r5b2edbc 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 ) … … 261 262 throw { KEYWORD_RETURN(THROW); } // CFA 262 263 throwResume { KEYWORD_RETURN(THROWRESUME); } // CFA 264 timeout { QKEYWORD_RETURN(TIMEOUT); } // CFA 263 265 trait { KEYWORD_RETURN(TRAIT); } // CFA 264 266 try { KEYWORD_RETURN(TRY); } // CFA … … 277 279 __volatile { KEYWORD_RETURN(VOLATILE); } // GCC 278 280 __volatile__ { KEYWORD_RETURN(VOLATILE); } // GCC 281 waitfor { KEYWORD_RETURN(WAITFOR); } 282 or { QKEYWORD_RETURN(WOR); } // CFA 283 when { KEYWORD_RETURN(WHEN); } 279 284 while { KEYWORD_RETURN(WHILE); } 280 285 with { KEYWORD_RETURN(WITH); } // CFA
Note: See TracChangeset
for help on using the changeset viewer.