home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_02
/
9n02118a
< prev
next >
Wrap
Text File
|
1990-12-16
|
391b
|
19 lines
ret = yylex();
switch(ret)
{
case SET:
/* Next input should be the numeric value */
ret = yylex();
if (ret != INTEGER_NUMBER)
{
printf("\n ERROR -- number not specified
after SET");
exit(0);
}
else
sscanf(yytext,"%d",&value);
break;
...