From c743c0226f01803af124a84ff4ff372ec359cb50 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Tue, 20 Jun 1989 17:23:54 +0000 Subject: [PATCH] made trailing context combined with '|' warning always come out --- parse.y | 8 +++++--- 1 file 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 */ -- 2.40.0