summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2005-02-08 09:12:17 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2005-02-08 09:12:17 +0000
commit2db005f5137ee07899a84b7817531729c145d056 (patch)
treec3a3566aba12ee747ac33b56b605e8923439fd64
parent65f3ec4e6ce13435d4823e5e5603bb82a896fb4a (diff)
correct the first example; ok otto jmc
-rw-r--r--usr.bin/lex/flex.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/lex/flex.1 b/usr.bin/lex/flex.1
index 716015ea346..49f67f52e77 100644
--- a/usr.bin/lex/flex.1
+++ b/usr.bin/lex/flex.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: flex.1,v 1.19 2004/04/19 18:29:17 jmc Exp $
+.\" $OpenBSD: flex.1,v 1.20 2005/02/08 09:12:16 pvalchev Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -173,7 +173,9 @@ marks the beginning of the rules.
.Pp
Here's another simple example:
.Bd -literal -offset indent
+%{
int num_lines = 0, num_chars = 0;
+%}
%%
\en ++num_lines; ++num_chars;