added rcsid

added pattern for # comments
This commit is contained in:
sater 1984-05-17 14:13:36 +00:00
parent d78dadca3f
commit 18ffd176ba

View file

@ -1,4 +1,8 @@
%{
#ifndef NORCSID
static char rcsid[] = "$Header$";
#endif
/*
* (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
*
@ -69,3 +73,4 @@ rom return(ROM);
\n { lino++; return(yytext[0]); }
:[ \t]*\n[ \t]+ { lino++; return(':'); }
^"# "[0-9]+.*\n { lino=atoi(yytext+2); }
^\#.*\n { lino++; }