aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/colldef
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-10-03 01:21:33 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-10-03 01:21:33 +0000
commitae303f0b9e10d0f4df40db7e134252f3d56f5ee1 (patch)
tree5e1b9e9d154526784a69a2264c91a6985f27506a /usr.bin/colldef
parent3eefc574c3ddc05f9d65dd945fa3a434793a235f (diff)
downloadsrc-ae303f0b9e10d0f4df40db7e134252f3d56f5ee1.tar.gz
src-ae303f0b9e10d0f4df40db7e134252f3d56f5ee1.zip
allow comments in map files
Notes
Notes: svn path=/head/; revision=51890
Diffstat (limited to 'usr.bin/colldef')
-rw-r--r--usr.bin/colldef/scan.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/colldef/scan.l b/usr.bin/colldef/scan.l
index d99f001caa1c..9b25e137dbad 100644
--- a/usr.bin/colldef/scan.l
+++ b/usr.bin/colldef/scan.l
@@ -111,6 +111,7 @@ YYSTYPE yylval;
yylval.ch = *yytext;
return CHAR;
}
+<defn>^#.*\n line_no++;
<defn>[ \t]+ {
if (ptr == buf)
errx(EX_UNAVAILABLE, "map expected near line %u of %s",