Changeset 33218c6 for src/Parser/lex.ll
- Timestamp:
- Jul 26, 2017, 12:19:41 PM (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:
- b947fb2
- Parents:
- e0a653d (diff), ea91c42 (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
re0a653d r33218c6 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Tue Jul 11 21:30:51201713 * Update Count : 5 3412 * Last Modified On : Mon Jul 24 08:27:23 2017 13 * Update Count : 545 14 14 */ 15 15 … … 125 125 op_unary {op_unary_only}|{op_unary_binary}|{op_unary_pre_post} 126 126 127 op_binary_only "/"|"%"|" ^"|"&"|"|"|"<"|">"|"="|"=="|"!="|"<<"|">>"|"<="|">="|"+="|"-="|"*="|"/="|"%="|"&="|"|="|"^="|"<<="|">>="127 op_binary_only "/"|"%"|"\\"|"^"|"&"|"|"|"<"|">"|"="|"=="|"!="|"<<"|">>"|"<="|">="|"+="|"-="|"*="|"/="|"%="|"\\="|"&="|"|="|"^="|"<<="|">>=" 128 128 op_binary_over {op_unary_binary}|{op_binary_only} 129 129 // op_binary_not_over "?"|"->"|"."|"&&"|"||"|"@=" … … 136 136 137 137 %% 138 138 /* line directives */ 139 139 ^{h_white}*"#"{h_white}*[0-9]+{h_white}*["][^"\n]+["].*"\n" { 140 140 /* " stop highlighting */ … … 232 232 int { KEYWORD_RETURN(INT); } 233 233 __int128 { KEYWORD_RETURN(INT); } // GCC 234 __int128_t { KEYWORD_RETURN(INT); } // GCC 234 235 __label__ { KEYWORD_RETURN(LABEL); } // GCC 235 236 long { KEYWORD_RETURN(LONG); } … … 266 267 __typeof { KEYWORD_RETURN(TYPEOF); } // GCC 267 268 __typeof__ { KEYWORD_RETURN(TYPEOF); } // GCC 269 __uint128_t { KEYWORD_RETURN(INT); } // GCC 268 270 union { KEYWORD_RETURN(UNION); } 269 271 unsigned { KEYWORD_RETURN(UNSIGNED); } 270 272 __builtin_va_list { KEYWORD_RETURN(VALIST); } // GCC 273 virtual { KEYWORD_RETURN(VIRTUAL); } // CFA 271 274 void { KEYWORD_RETURN(VOID); } 272 275 volatile { KEYWORD_RETURN(VOLATILE); } … … 274 277 __volatile__ { KEYWORD_RETURN(VOLATILE); } // GCC 275 278 while { KEYWORD_RETURN(WHILE); } 279 with { KEYWORD_RETURN(WITH); } // CFA 276 280 zero_t { NUMERIC_RETURN(ZERO_T); } // CFA 277 281 … … 336 340 "-" { ASCIIOP_RETURN(); } 337 341 "*" { ASCIIOP_RETURN(); } 342 "\\" { ASCIIOP_RETURN(); } // CFA, exponentiation 338 343 "/" { ASCIIOP_RETURN(); } 339 344 "%" { ASCIIOP_RETURN(); } … … 360 365 "+=" { NAMEDOP_RETURN(PLUSassign); } 361 366 "-=" { NAMEDOP_RETURN(MINUSassign); } 367 "\\=" { NAMEDOP_RETURN(EXPassign); } // CFA, exponentiation 362 368 "*=" { NAMEDOP_RETURN(MULTassign); } 363 369 "/=" { NAMEDOP_RETURN(DIVassign); }
Note:
See TracChangeset
for help on using the changeset viewer.