summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2002-08-07 17:26:50 +0000
committerWill Estes <wlestes@users.sourceforge.net>2002-08-07 17:26:50 +0000
commit2ea4696bc4a83c2e50e7263142ac75d1e66f15c8 (patch)
tree1ce626b607a75dc5948bdfc26f836b488502d76c
parentb0f62c85f1cdc087877bf1520acb25301ee71282 (diff)
proofed "Why do flex scanners call fileno if it is not ANSI compatible?"
-rw-r--r--faq.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/faq.texi b/faq.texi
index 6f000ff..ced5933 100644
--- a/faq.texi
+++ b/faq.texi
@@ -166,13 +166,13 @@ In this way, @code{yytext} does not need to be modified at all.
@node Why do flex scanners call fileno if it is not ANSI compatible?
@unnumberedsec Why do flex scanners call fileno if it is not ANSI compatible?
-Flex scanners call fileno() in order to get the file descriptor
-corresponding to yyin. The file descriptor may be passed to
-isatty() or read(), depending upon which %options you specified.
-If your system does not have fileno() support, to get rid of the
-read() call, do not specify %option read. To get rid of the isatty()
-call, you must specify one of %option always-interactive or
-%option never-interactive.
+Flex scanners call @code{fileno()} in order to get the file descriptor
+corresponding to @code{yyin}. The file descriptor may be passed to
+@code{isatty()} or @code{read()}, depending upon which @code{%options} you specified.
+If your system does not have @code{fileno()} support, to get rid of the
+@code{read()} call, do not specify @code{%option read}. To get rid of the @code{isatty()}
+call, you must specify one of @code{%option always-interactive} or
+@code{%option never-interactive}.
@node Does flex support recursive pattern definitions?
@unnumberedsec Does flex support recursive pattern definitions?