Lines Matching refs:sh_lexstates
407 if(sh_lexstates[ST_BEGIN]!=sh_lexrstates[ST_BEGIN])
408 free((void*)sh_lexstates[ST_BEGIN]);
413 sh_lexstates[ST_BEGIN] = state[0] = (char*)malloc(4*(1<<CHAR_BIT));
415 sh_lexstates[ST_NAME] = state[1] = state[0] + (1<<CHAR_BIT);
417 sh_lexstates[ST_DOL] = state[2] = state[1] + (1<<CHAR_BIT);
419 sh_lexstates[ST_BRACE] = state[3] = state[2] + (1<<CHAR_BIT);
446 sh_lexstates[ST_BEGIN]=(char*)sh_lexrstates[ST_BEGIN];
447 sh_lexstates[ST_NAME]=(char*)sh_lexrstates[ST_NAME];
448 sh_lexstates[ST_DOL]=(char*)sh_lexrstates[ST_DOL];
449 sh_lexstates[ST_BRACE]=(char*)sh_lexrstates[ST_BRACE];
900 sh_lexstates[i] = cp;
1035 memcpy(sh_lexstates,sh_lexrstates,ST_NONE*sizeof(char*));