version 1.3, 1997/06/30 06:26:33 |
version 1.4, 1997/07/21 23:18:45 |
|
|
* reserved words. |
* reserved words. |
*/ |
*/ |
default: |
default: |
|
/* |
|
* to treat following function. |
|
* func (arg) { |
|
* .... |
|
* } |
|
*/ |
|
if (c == ' ' || c == '\t') { |
|
int save = c; |
|
while (GETC(!=, EOF) && (c == ' ' || c == '\t')) |
|
; |
|
if (c == EOF) |
|
return; |
|
(void)ungetc(c, inf); |
|
c = save; |
|
} |
storec: if (!intoken(c)) { |
storec: if (!intoken(c)) { |
if (sp == tok) |
if (sp == tok) |
break; |
break; |
|
|
int curline; /* line started on */ |
int curline; /* line started on */ |
char *sp; /* buffer pointer */ |
char *sp; /* buffer pointer */ |
char tok[MAXTOKEN]; /* storage buffer */ |
char tok[MAXTOKEN]; /* storage buffer */ |
|
|
|
/* |
|
* to treat following macro. |
|
* # macro(arg) .... |
|
*/ |
|
while (GETC(!=, EOF) && (c == ' ' || c == '\t')) |
|
; |
|
(void)ungetc(c, inf); |
|
|
curline = lineno; |
curline = lineno; |
for (sp = tok;;) { /* get next token */ |
for (sp = tok;;) { /* get next token */ |