Searched refs:ST_BEGIN (Results 1 – 3 of 3) sorted by relevance
69 #define ST_BEGIN 0 macro
407 if(sh_lexstates[ST_BEGIN]!=sh_lexrstates[ST_BEGIN]) in put_lang()408 free((void*)sh_lexstates[ST_BEGIN]); in put_lang()413 sh_lexstates[ST_BEGIN] = state[0] = (char*)malloc(4*(1<<CHAR_BIT)); in put_lang()414 memcpy(state[0],sh_lexrstates[ST_BEGIN],(1<<CHAR_BIT)); in put_lang()446 sh_lexstates[ST_BEGIN]=(char*)sh_lexrstates[ST_BEGIN]; in put_lang()
317 register int n, c, mode=ST_BEGIN, wordflags=0; in sh_lex()360 if(mode!=ST_BEGIN) in sh_lex()400 if(mode==ST_BEGIN) in sh_lex()699 if(mode==ST_BEGIN) in sh_lex()999 if((n=sh_lexstates[ST_BEGIN][c])==0 || n==S_OP || n==S_NLTOK) in sh_lex()1163 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub)) in sh_lex()1175 else if(mode==ST_BEGIN) in sh_lex()1514 if(n==0 && !sh_lexstates[ST_BEGIN][c]) in comsub()