X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/830c9b1847f35d01a748203423b893378a7bca85..a7867f53b3d63c94a5f73ffd48629069919ab3d4:/doc/bison.texinfo diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 542b1215..b8059e0b 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -4698,11 +4698,18 @@ Require a Version of Bison}. @end deffn @deffn {Directive} %skeleton "@var{file}" -Specify the skeleton to use. You probably don't need this option unless -you are developing Bison; you should use @code{%language} if you want to -specify the skeleton for a different language, because it is clearer and -because it will always choose the correct skeleton for non-deterministic -or push parsers. +Specify the skeleton to use. + +You probably don't need this option unless you are developing Bison. +You should use @code{%language} if you want to specify the skeleton for a +different language, because it is clearer and because it will always choose the +correct skeleton for non-deterministic or push parsers. + +If @var{file} does not contain a @code{/}, @var{file} is the name of a skeleton +file in the Bison installation directory. +If it does, @var{file} is an absolute file name or a file name relative to the +directory of the grammar file. +This is similar to how most shells resolve commands. @end deffn @deffn {Directive} %token-table @@ -7319,14 +7326,20 @@ Pretend that @code{%no-parser} was specified. @xref{Decl Summary}. @item -S @var{file} @itemx --skeleton=@var{file} -Specify the skeleton to use, as if @code{%skeleton} was specified +Specify the skeleton to use, similar to @code{%skeleton} (@pxref{Decl Summary, , Bison Declaration Summary}). -You probably don't need this option unless you are developing Bison; -you should use @option{--language} if you want to specify the skeleton for a +You probably don't need this option unless you are developing Bison. +You should use @option{--language} if you want to specify the skeleton for a different language, because it is clearer and because it will always choose the correct skeleton for non-deterministic or push parsers. +If @var{file} does not contain a @code{/}, @var{file} is the name of a skeleton +file in the Bison installation directory. +If it does, @var{file} is an absolute file name or a file name relative to the +current working directory. +This is similar to how most shells resolve commands. + @item -k @itemx --token-table Pretend that @code{%token-table} was specified. @xref{Decl Summary}.