"C" wish list/semicolons
Stanley Friesen
friesen at psivax.UUCP
Tue Nov 12 08:41:14 AEST 1985
In article <564 at ttrdc.UUCP> levy at ttrdc.UUCP (Daniel R. Levy) writes:
>In article <4528 at alice.UUCP>, ark at alice.UucP (Andrew Koenig) writes:
>>
>> Thus, if the
>>last token on a line is {insert list here}, the statement is
>>continued. The list would be exactly those tokens that cannot
>>ever end a statement, such as ( = + - * / and so on.
>
>What about
>
> something++
> more(code)
>
This is not a good counter example, since most(or all) lexical
analyzers for 'C' treat '+' and '++' as entirely different tokens.
Thus the token '++' would *not* be in the "continue" list, while the
token '+' would.
--
Sarima (Stanley Friesen)
UUCP: {ttidca|ihnp4|sdcrdcf|quad1|nrcvax|bellcore|logico}!psivax!friesen
ARPA: ttidca!psivax!friesen at rand-unix.arpa
More information about the Comp.lang.c
mailing list