Lines Matching refs:scanmode
46 static int scanmode = SCAN_NORMAL; variable
61 int result = scanmode; in yymode()
62 scanmode = n; in yymode()
259 if ( scanmode == SCAN_STRING ) in yylex()
380 if ( scanmode == SCAN_COND || scanmode == SCAN_CONDB ) in yylex()
385 if ( ! ( scanmode == SCAN_CONDB && ingrist == 1 && c == '>' ) ) in yylex()
396 else if ( c == '!' || ( scanmode == SCAN_COND && ( c == '<' || c == '>' ) ) ) in yylex()
417 else if ( scanmode == SCAN_PARAMS ) in yylex()
433 else if ( scanmode == SCAN_XASSIGN && ! hastoken ) in yylex()
452 else if ( scanmode == SCAN_NORMAL || scanmode == SCAN_ASSIGN ) in yylex()
485 if ( scanmode != SCAN_CASE && ( c == ';' || c == '{' || c == '}' || in yylex()
486 ( scanmode != SCAN_PARAMS && ( c == '[' || c == ']' ) ) ) ) in yylex()
651 if ( scanmode == SCAN_CONDB ) in yylex()
652 scanmode = SCAN_COND; in yylex()
678 …if ( !notkeyword && !( isalpha( *buf ) && ( scanmode == SCAN_PUNCT || scanmode == SCAN_PARAMS || s… in yylex()
690 if ( scanmode == SCAN_NORMAL && yylval.type == ARG ) in yylex()
691 scanmode = SCAN_XASSIGN; in yylex()