diff options
author | Theophile Ranquet <ranquet@lrde.epita.fr> | 2012-12-07 11:57:19 +0100 |
---|---|---|
committer | Theophile Ranquet <ranquet@lrde.epita.fr> | 2012-12-07 12:02:00 +0100 |
commit | fb6040f0a8cd3ddce85bac3286392a01206f5b55 (patch) | |
tree | fc2bc6c6674d3c84316cbf49f91075a518d01bb7 | |
parent | c49e2f153521a86f22b2631ca8a1fb6389c3a70e (diff) | |
download | bison-fb6040f0a8cd3ddce85bac3286392a01206f5b55.tar.gz |
news: improve the carets example and fix a typo
* NEWS: Here.
-rw-r--r-- | NEWS | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -17,8 +17,17 @@ GNU Bison NEWS documentation): input.y:3.20-23: error: ambiguous reference: '$exp' - exp: exp '+' exp { $exp = $1 + $2; }; + exp: exp '+' exp { $exp = $1 + $3; }; ^^^^ + input.y:3.1-3: refers to: $exp at $$ + exp: exp '+' exp { $exp = $1 + $3; }; + ^^^ + input.y:3.6-8: refers to: $exp at $1 + exp: exp '+' exp { $exp = $1 + $3; }; + ^^^ + input.y:3.14-16: refers to: $exp at $3 + exp: exp '+' exp { $exp = $1 + $3; }; + ^^^ The default behaviour for now is still not to display these unless explictly asked with -fall of -fcaret. However, in a later release, it will be made the @@ -28,7 +37,7 @@ GNU Bison NEWS The %define variable api.pure requests a pure (reentrant) parser. However, for historical reasons, using it in a location-tracking Yacc parser resulted - in an yyerror function that did not take a location as a parameter. With this + in a yyerror function that did not take a location as a parameter. With this new value, the user may request a better pure parser, where yyerror does take a location as a parameter (in location-tracking parsers). |