bison-patches
[Top][All Lists]
Advanced

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

FYI: master: doc: -fcaret is enabled by default


From: Akim Demaille
Subject: FYI: master: doc: -fcaret is enabled by default
Date: Sat, 11 Aug 2018 18:27:58 +0200

commit ccc759e81a259f9a2145d7d1d4153000ba6dac9c
Author: Akim Demaille <address@hidden>
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
address@hidden, 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}:
address@hidden, or Clang's
address@hidden 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




reply via email to

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