help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

odd error messages


From: Anand Akhare
Subject: odd error messages
Date: Sun, 7 Oct 2018 08:57:04 +0530

Hello,
   after running parser on code, error messages are showing in wrong
sequence.
Below are errors with line 379 and 378 in wrong sequence when it should be
378 followed by 379.

preprocess.y:379.13-27: error: symbol var_recur_comma is used, but is not
defined as a token and has no rules
 %type <str> var_recur_comma
             ^^^^^^^^^^^^^^^
preprocess.y:378.13-28: error: symbol var_recur_dollar is used, but is not
defined as a token and has no rules
 %type <str> var_recur_dollar

Further, the error is showing for token for which rule is defined in
further code.
var_recur_comma:
                          COMMA
                                 ;

There is nothing missing that can generate error.
There can be some data point I may not have for this error.
There are some more tokens with same problem and some with warnings.
Warnings of some tokens still are same but not reported as error.

Bison is 3.0.3 compiled from source code tarball.

Regards,
Anand


reply via email to

[Prev in Thread] Current Thread [Next in Thread]