]> granicus.if.org Git - flex/commitdiff
made trailing context combined with '|' warning always come out
authorVern Paxson <vern@ee.lbl.gov>
Tue, 20 Jun 1989 17:23:54 +0000 (17:23 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Tue, 20 Jun 1989 17:23:54 +0000 (17:23 +0000)
parse.y

diff --git a/parse.y b/parse.y
index f11f738ec4b4fd6371cb9edbf95a6005097a60de..1f24c3fc166e1cba93e73451f4ab2366c95ac4b3 100644 (file)
--- a/parse.y
+++ b/parse.y
@@ -304,9 +304,11 @@ re              :  re '|' series
                             */
                            if ( ! varlength || headcnt != 0 )
                                {
-                               if ( performance_report )
-                                   fprintf( stderr,
-    "trailing context rule made variable because of preceding '|' action\n" );
+                               fprintf( stderr,
+    "flex: warning - trailing context rule at line %d made variable because\n",
+                                        linenum );
+                               fprintf( stderr,
+                                        "      of preceding '|' action\n" );
                                }
 
                            /* mark as variable */