commit ccc759e81a259f9a2145d7d1d4153000ba6dac9c
Author: Akim Demaille <[email protected]>
Date: Fri Aug 10 19:28:53 2018 +0200
doc: -fcaret is enabled by default
* doc/bison.texi (Mid-Rule Action Translation): So no need to pass it.
diff --git a/doc/bison.texi b/doc/bison.texi
index fdc267eb..df2d4d97 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -4262,7 +4262,7 @@ final action does not use @code{$3}). Bison reports
these errors when the
Bison}):
@example
-$ bison -fcaret -Wmidrule-value mid.y
+$ bison -Wmidrule-value mid.y
@group
mid.y:2.6-13: warning: unset value: $$
exp: @{ a(); @} "b" @{ $$ = c(); @} @{ d(); @} "e" @{ f = $1; @};
@@ -10141,10 +10141,11 @@ Activate miscellaneous @var{feature}. @var{feature}
can be one of:
@item caret
@itemx diagnostics-show-caret
Show caret errors, in a manner similar to GCC's
-@option{-fdiagnostics-show-caret}, or Clang's @option{-fcaret-diagnotics}. The
-location provided with the message is used to quote the corresponding line of
-the source file, underlining the important part of it with carets (^). Here is
-an example, using the following file @file{in.y}:
+@option{-fdiagnostics-show-caret}, or Clang's
+@option{-fcaret-diagnotics}. The location provided with the message is used
+to quote the corresponding line of the source file, underlining the
+important part of it with carets (@samp{^}). Here is an example, using the
+following file @file{in.y}:
@example
%type <ival> exp