summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-10-24 18:57:15 +0200
committerAkim Demaille <akim.demaille@gmail.com>2018-10-24 18:57:15 +0200
commit73a822e63610daa613174de19fce25a1304d0f35 (patch)
tree7aa5b10baaa99e9ccad6c36f3565634d09ba057c /doc
parent5b879c898002d7e62acd647039aa787fd091e85a (diff)
downloadbison-73a822e63610daa613174de19fce25a1304d0f35.tar.gz
doc: mention earlier how to disable the generation of location.hh
Suggested by Victor Khomenko. * doc/bison.texi (C++ Bison Interface): Here.
Diffstat (limited to 'doc')
-rw-r--r--doc/bison.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/bison.texi b/doc/bison.texi
index 91b472b7..f104b486 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -10846,10 +10846,11 @@ these two files (@file{@var{file}.hh} and @file{@var{file}.cc}) follow the
same rules as with regular C parsers (@pxref{Invocation}).
@item location.hh
-The definition of the classes @code{position} and @code{location}, used for
-location tracking when enabled. This file is not generated if user defined
-locations are used, i.e., if the @code{%define} variable
-@code{api.location.type} is defined. @xref{C++ Location Values}.
+Generated when both @code{%defines} and @code{%locations} are enabled, this
+file contains the definition of the classes @code{position} and
+@code{location}, used for location tracking. This file is not generated if
+@samp{%define api.location.file none} is specified, or if user defined
+locations are used. @xref{C++ Location Values}.
@item position.hh
@itemx stack.hh