Lines Matching refs:count

47  *  like count() are now contributing to linebuf so we get correct
199 static void count();
225 "//".* { count(); }
226 "#" { macro(); /* was #.* { count(); } */ }
228 "static" { count(); tokens_seen++; }
229 "volatile" { count(); tokens_seen++; }
230 "auto" { count(); tokens_seen++; }
231 "extern" { count(); RETURN_VAL(EXTERN); }
232 "register" { count(); tokens_seen++; }
233 "typedef" { count(); tokens_seen++; }
234 "struct" { count(); RETURN_VAL(STRUCT); }
235 "union" { count(); RETURN_VAL(UNION); }
236 "enum" { count(); RETURN_VAL(ENUM); }
237 "const" { count(); RETURN_VAL(CONST); }
238 "template" { count(); RETURN_VAL(TEMPLATE); }
240 "typename" { count(); tokens_seen++; /* FIXME */ }
241 "using" { count(); tokens_seen++; /* FIXME */ }
242 "namespace" { count(); RETURN_VAL(CLASS); /* FIXME */ }
244 "dllexport" { count(); tokens_seen++; }
245 "dllimport" { count(); tokens_seen++; }
247 "explicit" { count(); tokens_seen++; }
248 "mutable" { count(); tokens_seen++; }
249 "inline" { count(); tokens_seen++; }
250 "virtual" { count(); tokens_seen++; }
251 "class" { count(); RETURN_VAL(CLASS); }
252 "delete" { count(); RETURN_VAL(DELETE); }
253 "new" { count(); RETURN_VAL(NEW); }
254 "friend" { count(); RETURN_VAL(FRIEND); }
255 "operator" { count(); RETURN_VAL(OPERATOR); }
256 "protected" { count(); RETURN_VAL(PROTECTED); }
257 "private" { count(); RETURN_VAL(PRIVATE); }
258 "public" { count(); RETURN_VAL(PUBLIC); }
259 "throw" { count(); RETURN_VAL(THROW); }
261 "char" { count(); RETURN_STR(CHAR); }
262 "short" { count(); RETURN_STR(SHORT); }
263 "int" { count(); RETURN_STR(INT); }
264 "long" { count(); RETURN_STR(LONG); }
265 "signed" { count(); RETURN_STR(SIGNED); }
266 "unsigned" { count(); RETURN_STR(UNSIGNED); }
267 "float" { count(); RETURN_STR(FLOAT); }
268 "double" { count(); RETURN_STR(DOUBLE); }
269 "void" { count(); RETURN_STR(VOID); }
271 {L}({L}|{D})* { count(); RETURN_STR(IDENTIFIER); }
273 0[xX]{H}+{IS}? { count(); RETURN_STR(CONSTANT); }
274 0{D}+{IS}? { count(); RETURN_STR(CONSTANT); }
275 {D}+{IS}? { count(); RETURN_STR(CONSTANT); }
276 '(\\.|[^\\'])+' { count(); RETURN_STR(CONSTANT); /* 'fontlck */ }
278 {D}+{E}{FS}? { count(); RETURN_STR(CONSTANT); }
279 {D}*"."{D}+({E})?{FS}? { count(); RETURN_STR(CONSTANT); }
280 {D}+"."{D}*({E})?{FS}? { count(); RETURN_STR(CONSTANT); }
282 \"(\\.|[^\\"])*\" { count(); RETURN_STR(STRING_LITERAL); /* "fontlck */ }
284 ">>=" { count(); RETURN_VAL(RIGHT_ASSIGN); }
285 "<<=" { count(); RETURN_VAL(LEFT_ASSIGN); }
286 "+=" { count(); RETURN_VAL(ADD_ASSIGN); }
287 "-=" { count(); RETURN_VAL(SUB_ASSIGN); }
288 "*=" { count(); RETURN_VAL(MUL_ASSIGN); }
289 "/=" { count(); RETURN_VAL(DIV_ASSIGN); }
290 "%=" { count(); RETURN_VAL(MOD_ASSIGN); }
291 "&=" { count(); RETURN_VAL(AND_ASSIGN); }
292 "^=" { count(); RETURN_VAL(XOR_ASSIGN); }
293 "|=" { count(); RETURN_VAL(OR_ASSIGN); }
294 ">>" { count(); RETURN_VAL(RIGHT_OP); }
295 "<<" { count(); RETURN_VAL(LEFT_OP); }
296 "++" { count(); RETURN_VAL(INC_OP); }
297 "--" { count(); RETURN_VAL(DEC_OP); }
298 "->" { count(); RETURN_VAL(PTR_OP); }
299 "->*" { count(); RETURN_VAL(MEM_PTR_OP); }
300 "&&" { count(); RETURN_VAL(AND_OP); }
301 "||" { count(); RETURN_VAL(OR_OP); }
302 "<=" { count(); RETURN_VAL(LE_OP); }
303 ">=" { count(); RETURN_VAL(GE_OP); }
304 "==" { count(); RETURN_VAL(EQ_OP); }
305 "!=" { count(); RETURN_VAL(NE_OP); }
306 ";" { count(); RETURN_VAL(';'); }
307 "{" { count(); RETURN_VAL('{'); }
308 "}" { count(); RETURN_VAL('}'); }
309 "," { count(); RETURN_VAL(','); }
310 ":" { count(); RETURN_VAL(':'); }
311 "=" { count(); RETURN_VAL('='); }
312 "(" { count(); RETURN_VAL('('); }
313 ")" { count(); RETURN_VAL(')'); }
314 "[" { count(); RETURN_VAL('['); }
315 "]" { count(); RETURN_VAL(']'); }
316 "." { count(); RETURN_VAL('.'); }
317 "&" { count(); RETURN_VAL('&'); }
318 "!" { count(); RETURN_VAL('!'); }
319 "~" { count(); RETURN_VAL('~'); }
320 "-" { count(); RETURN_VAL('-'); }
321 "+" { count(); RETURN_VAL('+'); }
322 "*" { count(); RETURN_VAL('*'); }
323 "/" { count(); RETURN_VAL('/'); }
324 "%" { count(); RETURN_VAL('%'); }
325 "<" { count(); RETURN_VAL('<'); }
326 ">" { count(); RETURN_VAL('>'); }
327 "^" { count(); RETURN_VAL('^'); }
328 "|" { count(); RETURN_VAL('|'); }
329 "?" { count(); RETURN_VAL('?'); }
330 "::" { count(); RETURN_VAL(CLCL); }
331 "..." { count(); RETURN_VAL(ELIPSIS); }
334 <INLIN>"//".* { count(); }
335 <INLIN>"#" { macro(); /* was #.* { count(); } */ }
340 <MINIT>"//".* { count(); }
341 <MINIT>"#" { macro(); /* was #.* { count(); } */ }
345 [ \t\v\f] { count(); }
346 . { count(); /* ignore bad characters */ }
419 static void count()