summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-01-27 07:51:07 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-01-28 06:47:07 +0100
commit9cd7bd4d5fb5032b2ce2c4e26c4bd0a0baeb708a (patch)
treef8a1e2678d75fee063e25363a92e4c9dcaac4852 /doc
parenta108d84f883df77c5c32ae8875406f669d7fe38d (diff)
downloadbison-9cd7bd4d5fb5032b2ce2c4e26c4bd0a0baeb708a.tar.gz
add -fsyntax-only
When debugging Bison itself, this is very handy, especially when tweaking the frontend badly enough to break the backends. It can also be used to check a grammar. * src/getargs.h, src/getargs.c (feature_syntax_only): New. (feature_args, feature_types): Adjust. * src/main.c (main): Use it.
Diffstat (limited to 'doc')
-rw-r--r--doc/bison.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bison.texi b/doc/bison.texi
index 279b73d2..217cbf97 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -10601,6 +10601,8 @@ foo.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
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.
@end table
@end table