Home
last modified time | relevance | path

Searched refs:ST_NAME (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dlexstates.h70 #define ST_NAME 1 macro
110 # define isaname(c) ((c)>0x7f?isalpha(c): sh_lexstates[ST_NAME][(c)]==0)
116 # define isaname(c) (sh_lexstates[ST_NAME][c]==0)
123 #define ismeta(c) (sh_lexstates[ST_NAME][c]==S_BREAK)
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c720 mode = ST_NAME; in sh_lex()
766 mode = ST_NAME; in sh_lex()
914 if(mode==ST_NAME) in sh_lex()
1145 if(mode==ST_NAME && (wordflags&ARG_QUOTED)) in sh_lex()
1180 if(c==RBRACE && (mode==ST_NAME||mode==ST_NORM)) in sh_lex()
1214 (mode==ST_NAME && (lp->assignok||lp->lexd.level))) in sh_lex()
1219 if(mode==ST_NAME) in sh_lex()
1308 if(n=='=' && c=='+' && mode==ST_NAME) in sh_lex()
1313 if(mode==ST_NAME) in sh_lex()
1532 if(n>1 && lp->lex.reservok==1 && mode==ST_NAME && in sh_lex()
[all …]
H A Dinit.c467 sh_lexstates[ST_NAME] = state[1] = state[0] + (1<<CHAR_BIT); in put_lang()
468 memcpy(state[1],sh_lexrstates[ST_NAME],(1<<CHAR_BIT)); in put_lang()
499 sh_lexstates[ST_NAME]=(char*)sh_lexrstates[ST_NAME]; in put_lang()