summaryrefslogtreecommitdiff
path: root/usr.bin/lex/flex.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-12-09 12:44:18 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-12-09 12:44:18 +0000
commit4b33a28b85c8b5108563569f31c858827a61fa93 (patch)
treebcfa81fd75699f771f5990021568fb0fb60f6fed /usr.bin/lex/flex.1
parent217e39b0c1e4569ade642f6a797ad91c1efa64b1 (diff)
better description of yylval, from mickey@
Diffstat (limited to 'usr.bin/lex/flex.1')
-rw-r--r--usr.bin/lex/flex.16
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/lex/flex.1 b/usr.bin/lex/flex.1
index cbfb5d8ccc4..8b7580f8bc5 100644
--- a/usr.bin/lex/flex.1
+++ b/usr.bin/lex/flex.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: flex.1,v 1.16 2003/11/18 08:42:47 jmc Exp $
+.\" $OpenBSD: flex.1,v 1.17 2003/12/09 12:44:17 jmc Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -2261,7 +2261,9 @@ yacc parsers expect to call a routine named
to find the next input token.
The routine is supposed to return the type of the next token
as well as putting any associated value in the global
-.Fa yylval .
+.Fa yylval ,
+which is defined externally,
+and can be a union or any other complex data structure.
To use
.Nm
with yacc, one specifies the