Lines Matching refs:clen
53 #define CADD { cbuf[clen++]=yytext[0]; if (clen>=CBUFLEN-1) { yyerror(\
57 int clen, cflag;
155 <A>\" { BEGIN str; clen=0; }
163 <reg>"[" { BEGIN chc; clen=0; cflag=0; }
164 <reg>"[^" { BEGIN chc; clen=0; cflag=1; }
188 <str>\" { wchar_t *s; BEGIN A; cbuf[clen]=0; s = tostring(cbuf);
189 cbuf[clen] = ' '; cbuf[++clen] = 0;
193 <str>"\\\"" { cbuf[clen++]='"'; }
194 <str>"\\"n { cbuf[clen++]='\n'; }
195 <chc>"\\"n { cbuf[clen++]='\n'; }
196 <str>"\\"t { cbuf[clen++]='\t'; }
197 <chc>"\\"t { cbuf[clen++]='\t'; }
198 <str>"\\"b { cbuf[clen++]='\b'; }
199 <chc>"\\"b { cbuf[clen++]='\b'; }
200 <str>"\\"r { cbuf[clen++]='\r'; }
201 <chc>"\\"r { cbuf[clen++]='\r'; }
202 <str>"\\"f { cbuf[clen++]='\f'; }
203 <chc>"\\"f { cbuf[clen++]='\f'; }
204 <str>"\\\\" { cbuf[clen++]='\\'; }
205 <chc>"\\\\" { cbuf[clen++]='\\'; }
208 <chc>"\\""]" { cbuf[clen++]=']'; }
209 <chc>"]" { BEGIN reg; cbuf[clen]=0; yylval = (int)tostring(cbuf);