* 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

@@ -1,3 +1,7 @@
2005-10-01 Akim <akim@epita.fr>
* examples/extexi: Restore the #line generation.
2005-09-30 Akim Demaille <akim@epita.fr>, 2005-09-30 Akim Demaille <akim@epita.fr>,
Alexandre Duret-Lutz <adl@gnu.org> Alexandre Duret-Lutz <adl@gnu.org>

View File

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