diff options
author | ache <ache@FreeBSD.org> | 1999-10-03 01:21:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-10-03 01:21:33 +0000 |
commit | 6fad2be5dc3a372f1295efaf81c9daf73413a4cc (patch) | |
tree | 571ceb78dc82ffce7136d1fb4585bed148be51e2 /usr.bin/colldef | |
parent | 2eeb45809898d851a2b64e21507479687089a928 (diff) | |
download | FreeBSD-src-6fad2be5dc3a372f1295efaf81c9daf73413a4cc.zip FreeBSD-src-6fad2be5dc3a372f1295efaf81c9daf73413a4cc.tar.gz |
allow comments in map files
Diffstat (limited to 'usr.bin/colldef')
-rw-r--r-- | usr.bin/colldef/scan.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/colldef/scan.l b/usr.bin/colldef/scan.l index d99f001..9b25e13 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", |