Lines Matching refs:cbuf
73 #define CADD cbuf[clen++] = yytext[0]; \
75 ERROR "string/reg expr %.10s... too long", cbuf SYNTAX; \
79 static uchar cbuf[CBUFLEN]; variable
218 <reg>\\. { cbuf[clen++] = '\\'; cbuf[clen++] = yytext[1]; }
219 <reg>\n { ERROR "newline in regular expression %.10s...", cbuf SYNTAX; lineno++; BEGIN A; }
221 cbuf[clen] = 0;
222 yylval.s = tostring(cbuf);
228 cbuf[clen] = 0; s = tostring(cbuf);
229 cbuf[clen] = ' '; cbuf[++clen] = 0;
230 yylval.cp = setsymtab(cbuf, s, 0.0, CON|STR, symtab);
232 <str>\n { ERROR "newline in string %.10s...", cbuf SYNTAX; lineno++; BEGIN A; }
233 <str>"\\\"" { cbuf[clen++] = '"'; }
234 <str>"\\"n { cbuf[clen++] = '\n'; }
235 <str>"\\"t { cbuf[clen++] = '\t'; }
236 <str>"\\"f { cbuf[clen++] = '\f'; }
237 <str>"\\"r { cbuf[clen++] = '\r'; }
238 <str>"\\"b { cbuf[clen++] = '\b'; }
239 <str>"\\"v { cbuf[clen++] = '\v'; } /* these ANSIisms may not be known by */
240 <str>"\\"a { cbuf[clen++] = '\007'; } /* your compiler. hence 007 for bell */
241 <str>"\\\\" { cbuf[clen++] = '\\'; }
243 sscanf(yytext+1, "%o", &n); cbuf[clen++] = n; }
245 sscanf(yytext+2, "%x", &n); cbuf[clen++] = n; }
246 <str>"\\". { cbuf[clen++] = yytext[1]; }