Home
last modified time | relevance | path

Searched refs:S_ESC (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/data/
H A Dlexstates.c101 0, 0, 0, S_BRACT,S_ESC, S_REG, S_REG, 0,
145 0, 0, 0, S_PAT, S_ESC, 0, 0, 0,
190 0, 0, 0, 0, S_ESC, 0, 0, 0,
213 0, 0, 0, S_BRACT,S_ESC, S_POP, 0, 0,
285 0, 0, 0, S_BRACT,S_ESC, S_ERR, S_ERR, 0,
369 0, 0, 0, S_BRACT,S_ESC, S_ENDCH,0, 0,
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dread.c281 if((flags&R_FLAG) && shp->ifstable['\\']==S_ESC) in sh_readline()
284 shp->ifstable['\\'] = S_ESC; in sh_readline()
526 case S_ESC: in sh_readline()
630 if(name || c==S_NL || c==S_ESC || c==S_EOF || c==S_MBYTE) in sh_readline()
/titanic_41/usr/src/lib/libshell/common/include/
H A Dlexstates.h64 #define S_ESC 39 /* escape character */ macro
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dmacro.c328 case S_ESC: in sh_machere()
481 case S_ESC: in copyto()
541 if(!mp->lit && (n==S_ESC || (!mp->quote && in copyto()
545 if(ere && n==S_ESC && *cp =='\\' && cp[1]=='$') in copyto()
2139 if(nopat&&(c==S_PAT||c==S_ESC||c==S_BRACT||c==S_ENDCH) && mp->pattern!=3) in mac_copy()
2141 else if(mp->pattern==4 && (c==S_ESC||c==S_BRACT||c==S_ENDCH || isastchar(n))) in mac_copy()
2145 else if(mp->pattern==3 && c==S_ESC && (state[*(unsigned char*)cp]==S_DIG||(*cp==ESCAPE))) in mac_copy()
2182 state[ESCAPE] = S_ESC; in mac_copy()
2196 if(n==S_ESC || n==S_EPAT) in mac_copy()
2265 if(mp->shp->ifstable[ESCAPE]==S_ESC) in mac_copy()
H A Dlex.c619 case S_ESC: in sh_lex()
1752 if(n==S_ESC) in here_copy()
1759 if(n==S_ESC) in here_copy()
1871 case S_ESC: in here_copy()
2188 case S_ESC: in sh_endword()