summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1989-06-20 17:23:54 +0000
committerVern Paxson <vern@ee.lbl.gov>1989-06-20 17:23:54 +0000
commitc743c0226f01803af124a84ff4ff372ec359cb50 (patch)
tree1572771f4f47bb23c22454170d36e6157ac1a06a /parse.y
parent4bcc9d241b6be0b94f7bad798958d2d116e48112 (diff)
made trailing context combined with '|' warning always come out
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 5 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index f11f738..1f24c3f 100644
--- 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 */