Searched refs:SCAN_NORMAL (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/tools/build/src/engine/ |
D | jamgram.y | 168 | LOCAL_t { yymode( SCAN_ASSIGN ); } list assign_list_opt _SEMIC_t { yymode( SCAN_NORMAL ); } block 202 { $$.parse = pincl( $3.parse ); yymode( SCAN_NORMAL ); } 204 { $$.parse = prule( $1.string, $3.parse ); yymode( SCAN_NORMAL ); } 206 { $$.parse = pset( $1.parse, $4.parse, $2.number ); yymode( SCAN_NORMAL ); } 208 { $$.parse = pset1( $1.parse, $4.parse, $7.parse, $5.number ); yymode( SCAN_NORMAL ); } 210 { $$.parse = preturn( $3.parse ); yymode( SCAN_NORMAL ); } 215 …| FOR_t local_opt ARG IN_t { yymode( SCAN_PUNCT ); } list _LBRACE_t { yymode( SCAN_NORMAL ); } blo… 217 | SWITCH_t { yymode( SCAN_PUNCT ); } list _LBRACE_t { yymode( SCAN_NORMAL ); } cases _RBRACE_t 219 | IF_t { yymode( SCAN_CONDB ); } expr _LBRACE_t { yymode( SCAN_NORMAL ); } block _RBRACE_t else_opt 221 | MODULE_t { yymode( SCAN_PUNCT ); } list _LBRACE_t { yymode( SCAN_NORMAL ); } block _RBRACE_t [all …]
|
D | jamgram.yy | 122 | `local` { yymode( SCAN_ASSIGN ); } list assign_list_opt `;` { yymode( SCAN_NORMAL ); } block 156 { $$.parse = pincl( $3.parse ); yymode( SCAN_NORMAL ); } 158 { $$.parse = prule( $1.string, $3.parse ); yymode( SCAN_NORMAL ); } 160 { $$.parse = pset( $1.parse, $4.parse, $2.number ); yymode( SCAN_NORMAL ); } 162 { $$.parse = pset1( $1.parse, $4.parse, $7.parse, $5.number ); yymode( SCAN_NORMAL ); } 164 { $$.parse = preturn( $3.parse ); yymode( SCAN_NORMAL ); } 169 | `for` local_opt ARG `in` { yymode( SCAN_PUNCT ); } list `{` { yymode( SCAN_NORMAL ); } block `}` 171 | `switch` { yymode( SCAN_PUNCT ); } list `{` { yymode( SCAN_NORMAL ); } cases `}` 173 | `if` { yymode( SCAN_CONDB ); } expr `{` { yymode( SCAN_NORMAL ); } block `}` else_opt 175 | `module` { yymode( SCAN_PUNCT ); } list `{` { yymode( SCAN_NORMAL ); } block `}` [all …]
|
D | scan.h | 62 #define SCAN_NORMAL 0 /* normal parsing */ macro
|
D | scan.cpp | 46 static int scanmode = SCAN_NORMAL; 452 else if ( scanmode == SCAN_NORMAL || scanmode == SCAN_ASSIGN ) in yylex() 690 if ( scanmode == SCAN_NORMAL && yylval.type == ARG ) in yylex()
|