summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorggujjula <43194746+ggujjula@users.noreply.github.com>2022-05-31 01:18:53 -0500
committerggujjula <43194746+ggujjula@users.noreply.github.com>2022-05-31 01:19:47 -0500
commite0e7091dc76d67a5b60647e4e0ddb45f8d7fa8bb (patch)
tree34d5be664ebc90b38dac7976682bd9d77ec07e1d
parent16ff9d01339a7ecd859ee619a8496ca878a3eb70 (diff)
downloadflex-git-e0e7091dc76d67a5b60647e4e0ddb45f8d7fa8bb.tar.gz
Add anchors and refs to areas relevant to '--yymore'
-rwxr-xr-xdoc/flex.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index 9224d98..5ccd0a9 100755
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -1345,6 +1345,7 @@ Note also that unlike the other special actions, @code{yyreject()} is a
@emph{branch}. Code immediately following it in the action will
@emph{not} be executed.
+@anchor{action-yymore}
@item yymore()
@cindex yymore()
tells the scanner that the next time it matches a rule, the
@@ -3181,7 +3182,7 @@ currently matched text. This option is enabled automatically if flex detects
the use of @code{yymore()} in the scanner rules. However, this option must be
set explicitly if @code{yymore()} is used more indirectly to avoid a compile
time error.
-@xref{Actions}. @xref{Diagnostics}.
+@xref{action-yymore}. @xref{yymore_used_but_not_detected-undefined}.
@end table
@@ -5453,6 +5454,7 @@ not intended.
@item
@code{reject_used_but_not_detected undefined} or
+@anchor{yymore_used_but_not_detected-undefined}
@code{yymore_used_but_not_detected undefined}. These errors can occur
at compile time. They indicate that the scanner uses @code{yyreject()} or
@code{yymore()} but that @code{flex} failed to notice the fact, meaning