Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!mgnetp!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.lang.c Subject: Re: "C" wish list/semicolons Message-ID: <564@ttrdc.UUCP> Date: Fri, 8-Nov-85 02:04:50 EST Article-I.D.: ttrdc.564 Posted: Fri Nov 8 02:04:50 1985 Date-Received: Sun, 10-Nov-85 06:48:50 EST References: <142@ucbjade.BERKELEY.EDU> <4528@alice.UUCP> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 23 In article <4528@alice.UUCP>, ark@alice.UucP (Andrew Koenig) writes: >Ummm... the assignment to f is problematic. Let's change it a bit: > f = x + 7 > *p++ >Now, is this one statement or two? I strongly suggest that if >you want to have a syntactic rule for continuing a statement, >you make it a lexical rule instead, as in EFL. 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) -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!ihnp4!ttrdc!levy