summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-04-11 10:33:12 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-04-11 10:33:12 +0000
commit849e394f6bad6bdae26715605e7e5922c24845f2 (patch)
treee8b83e600fe2bcb89249e923fac2969a2f2b0cc0
parent1dcb890ad9bb70629a3a4225f00e438471530edf (diff)
Notes
-rw-r--r--usr.bin/lex/lex.12
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/lex/lex.1 b/usr.bin/lex/lex.1
index 065aee20a6b3..16025e9abe68 100644
--- a/usr.bin/lex/lex.1
+++ b/usr.bin/lex/lex.1
@@ -136,7 +136,9 @@ The "%%" marks the beginning of the rules.
Here's another simple example:
.nf
+ %{
int num_lines = 0, num_chars = 0;
+ %}
%%
\\n ++num_lines; ++num_chars;