X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fb9712a96207a21a6c442bbee9c20324c40e6727..5215c87f148b5f1333a103197589dc2353f9c5c1:/examples/extexi diff --git a/examples/extexi b/examples/extexi index cc140f5c..4bd48979 100644 --- a/examples/extexi +++ b/examples/extexi @@ -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; }