summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlestes <wlestes>2012-03-02 21:15:51 +0000
committerwlestes <wlestes>2012-03-02 21:15:51 +0000
commitaa544c71ed2db610c972dabc2c9c9026f8cb9358 (patch)
tree1ecbd8a06d8f319db62e3087fd7a532bc61e22bd
parentd5c9b65dfd42e2487b344532e4d1bda153b840ec (diff)
downloadflex-aa544c71ed2db610c972dabc2c9c9026f8cb9358.tar.gz
correct document of YY_FLUSH_BUFFER; resolves #1723028
-rw-r--r--doc/flex.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index 6f1e7e4..ce067d6 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -1438,12 +1438,12 @@ avoid a name clash with the @code{C++} stream by the name of
@code{input}.)
@cindex flushing the internal buffer
-@cindex YY_FLUSH_BUFFER()
-@code{YY_FLUSH_BUFFER()} flushes the scanner's internal buffer so that
+@cindex YY_FLUSH_BUFFER
+@code{YY_FLUSH_BUFFER;} flushes the scanner's internal buffer so that
the next time the scanner attempts to match a token, it will first
refill the buffer using @code{YY_INPUT()} (@pxref{Generated Scanner}).
This action is a special case of the more general
-@code{yy_flush_buffer()} function, described below (@pxref{Multiple
+@code{yy_flush_buffer;} function, described below (@pxref{Multiple
Input Buffers})
@cindex yyterminate()