Return to flex.1 CVS log | Up to [local] / src / usr.bin / lex |
version 1.19, 2004/04/19 18:29:17 | version 1.20, 2005/02/08 09:12:16 | ||
---|---|---|---|
|
|
||
.Pp | .Pp | ||
Here's another simple example: | Here's another simple example: | ||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||
%{ | |||
int num_lines = 0, num_chars = 0; | int num_lines = 0, num_chars = 0; | ||
%} | |||
%% | %% | ||
\en ++num_lines; ++num_chars; | \en ++num_lines; ++num_chars; |