Changes in src/Parser/lex.ll [8b47e50:e5f2a67]
- File:
-
- 1 edited
-
src/Parser/lex.ll (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/lex.ll
r8b47e50 re5f2a67 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Wed Jul 12 18:04:44 201713 * Update Count : 5 3512 * Last Modified On : Sat Jul 15 15:46:34 2017 13 * Update Count : 542 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 /* line directives */138 /* line directives */ 139 139 ^{h_white}*"#"{h_white}*[0-9]+{h_white}*["][^"\n]+["].*"\n" { 140 140 /* " stop highlighting */ … … 337 337 "-" { ASCIIOP_RETURN(); } 338 338 "*" { ASCIIOP_RETURN(); } 339 "\\" { ASCIIOP_RETURN(); } // CFA, exponentiation 339 340 "/" { ASCIIOP_RETURN(); } 340 341 "%" { ASCIIOP_RETURN(); } … … 361 362 "+=" { NAMEDOP_RETURN(PLUSassign); } 362 363 "-=" { NAMEDOP_RETURN(MINUSassign); } 364 "\\=" { NAMEDOP_RETURN(EXPassign); } // CFA, exponentiation 363 365 "*=" { NAMEDOP_RETURN(MULTassign); } 364 366 "/=" { NAMEDOP_RETURN(DIVassign); }
Note:
See TracChangeset
for help on using the changeset viewer.