File: foreach_statement_example.tex

package info (click to toggle)
kimwitu-doc 10a-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 1,192 kB
  • ctags: 341
  • sloc: makefile: 166; yacc: 125; ansic: 40; lex: 18; sh: 2
file content (10 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
% Remember to use the lgrind style

\File{foreach\_statement\_example.k},{14:33},{Feb 19 1997}
\L{\LB{\K{int}_\V{len}(\V{exprlist}_\V{el})_\{}}
\L{\LB{____\K{int}_\V{length}_=_0;_}}
\L{\LB{____\K{foreach}(_\V{l};_\V{exprlist}_\V{el}_)_\{}}
\L{\LB{________\V{length}++;}}
\L{\LB{____\}}}
\L{\LB{____\K{return}_\V{length};}}
\L{\LB{\}}}