public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d78dadc
)
added rcsid
author
sater
<none@none>
Thu, 17 May 1984 14:13:36 +0000
(14:13 +0000)
committer
sater
<none@none>
Thu, 17 May 1984 14:13:36 +0000
(14:13 +0000)
added pattern for # comments
util/opt/scan.l
patch
|
blob
|
history
diff --git
a/util/opt/scan.l
b/util/opt/scan.l
index
f42b710
..
5c6b7aa
100644
(file)
--- a/
util/opt/scan.l
+++ b/
util/opt/scan.l
@@
-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++; }