Compiler/lexical analyzer: Difference between revisions

Content added Content deleted
(→‎{{header|Perl 6}}: Modified to comply with task requirements)
m (Add missing brace to demo fragment)
Line 150: Line 150:
count = count + 1 ; /* number of primes found so far */
count = count + 1 ; /* number of primes found so far */
}</lang>
}</lang>
* <lang c>if(p){print(n," ");count=count+1;</lang>
* <lang c>if(p){print(n," ");count=count+1;}</lang>


;Complete list of token names
;Complete list of token names