summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-04-26 16:30:11 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-04-27 18:27:04 +0200
commit33b246a624abc4c5fbfac485133c32a04130b74b (patch)
tree0c7adbfbd9aec106b314de5c2cee88385a60bc73
parentdc5ce5989fc8bff2f2b8d878ab10bf6e7af9bfde (diff)
downloadbison-33b246a624abc4c5fbfac485133c32a04130b74b.tar.gz
doc: clarify -fsyntax-error
* NEWS, doc/bison.texi: here.
-rw-r--r--NEWS6
-rw-r--r--doc/bison.texi6
2 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index d2131125..b0da7ecd 100644
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,10 @@ GNU Bison NEWS
When given -fsyntax-only, the diagnostics are reported, but no output is
generated.
+ The name of this option is somewhat misleading as bison does more than
+ just checking the syntax: every stage is run (including checking for
+ conflicts for instance), except the generation of the output files.
+
*** Include the generated header (yacc.c)
Before, when --defines is used, bison generated a header, and pasted an
@@ -102,7 +106,7 @@ GNU Bison NEWS
*** Generated reports
- The format of the reports (parse.output) was improved for readadibility.
+ The format of the reports (parse.output) was improved for readability.
*** Better support for --no-line.
diff --git a/doc/bison.texi b/doc/bison.texi
index 4f29c837..93f3796d 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -10616,7 +10616,11 @@ The fix-its are applied by @command{bison} itself when given the option
@option{-u}/@option{--update}. See its documentation above.
@item syntax-only
-Do not generate the output files.
+Do not generate the output files. The name of this feature is somewhat
+misleading as more than just checking the syntax is done: every stage is run
+(including checking for conflicts for instance), except the generation of
+the output files.
+
@end table
@end table