mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* examples/extexi: Restore the #line generation.
This commit is contained in:
@@ -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>,
|
||||
Alexandre Duret-Lutz <adl@gnu.org>
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user