* examples/extexi: Restore the #line generation.

This commit is contained in:
Akim Demaille
2005-10-01 07:20:32 +00:00
parent fb9712a962
commit 5215c87f14
2 changed files with 6 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ BEGIN {
# #line report the line number of the *next* line.
# => + 2.
# Note that recent Bison support it, but not Flex.
if (file ~ /\.[chy]*$/)
input = "#line " (FNR + 1) " \"" FILENAME "\"\n";
next;
}