Searched refs:ST_BEGIN (Results 1 – 3 of 3) sorted by relevance
69 #define ST_BEGIN 0 macro
328 register int n, c, mode=ST_BEGIN, wordflags=0; in sh_lex()380 if(mode!=ST_BEGIN) in sh_lex()420 if(mode==ST_BEGIN) in sh_lex()749 if(mode==ST_BEGIN) in sh_lex()1058 if((n=sh_lexstates[ST_BEGIN][c])==0 || n==S_OP || n==S_NLTOK) in sh_lex()1238 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub)) in sh_lex()1257 else if(mode==ST_BEGIN) in sh_lex()1638 if(n==0 && !sh_lexstates[ST_BEGIN][c]) in comsub()1706 while(!sh_lexstates[ST_BEGIN][c]); in comsub()
458 if(sh_lexstates[ST_BEGIN]!=sh_lexrstates[ST_BEGIN]) in put_lang()459 free((void*)sh_lexstates[ST_BEGIN]); in put_lang()465 sh_lexstates[ST_BEGIN] = state[0] = (char*)malloc(4*(1<<CHAR_BIT)); in put_lang()466 memcpy(state[0],sh_lexrstates[ST_BEGIN],(1<<CHAR_BIT)); in put_lang()498 sh_lexstates[ST_BEGIN]=(char*)sh_lexrstates[ST_BEGIN]; in put_lang()