Lines Matching refs:sh_lexstates
455 if(sh_lexstates[ST_BEGIN]!=sh_lexrstates[ST_BEGIN])
456 free((void*)sh_lexstates[ST_BEGIN]);
462 sh_lexstates[ST_BEGIN] = state[0] = (char*)malloc(4*(1<<CHAR_BIT));
464 sh_lexstates[ST_NAME] = state[1] = state[0] + (1<<CHAR_BIT);
466 sh_lexstates[ST_DOL] = state[2] = state[1] + (1<<CHAR_BIT);
468 sh_lexstates[ST_BRACE] = state[3] = state[2] + (1<<CHAR_BIT);
495 sh_lexstates[ST_BEGIN]=(char*)sh_lexrstates[ST_BEGIN];
496 sh_lexstates[ST_NAME]=(char*)sh_lexrstates[ST_NAME];
497 sh_lexstates[ST_DOL]=(char*)sh_lexrstates[ST_DOL];
498 sh_lexstates[ST_BRACE]=(char*)sh_lexrstates[ST_BRACE];
1137 sh_lexstates[i] = cp;
1272 memcpy(sh_lexstates,sh_lexrstates,ST_NONE*sizeof(char*));