diff options
author | obrien <obrien@FreeBSD.org> | 1997-04-11 10:33:12 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-04-11 10:33:12 +0000 |
commit | daec40af7df6129f0a9c65a95610dd25cab9d8e1 (patch) | |
tree | 86cb27b06e5726a5eb83c974ddff96be9ebfdc64 /usr.bin/lex | |
parent | 973ef0724f5c8afbc2be1e47734bac1dc1ec8168 (diff) | |
download | FreeBSD-src-daec40af7df6129f0a9c65a95610dd25cab9d8e1.zip FreeBSD-src-daec40af7df6129f0a9c65a95610dd25cab9d8e1.tar.gz |
Add ``%{'' and ``%}'' to one of the examples so that you can actually
cut-n-paste the example and have it actually lex and compile.
Diffstat (limited to 'usr.bin/lex')
-rw-r--r-- | usr.bin/lex/lex.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/lex/lex.1 b/usr.bin/lex/lex.1 index 065aee2..16025e9 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; |