Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!spdcc!ima!esegue!compilers-sender From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.compilers Subject: Re: A Low-Rent Syntax Problem Keywords: parse, lex, design Message-ID: <16228:Sep404:27:1790@kramden.acf.nyu.edu> Date: 4 Sep 90 04:27:17 GMT References: <=M~%JG&@rpi.edu> Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Organization: IR Lines: 13 Approved: compilers@esegue.segue.boston.ma.us In article <=M~%JG&@rpi.edu> adamsf@turing.cs.rpi.edu (Frank Adams) writes: > In article mcdaniel@adi.com (Tim McDaniel) writes: [ // comments to end of line; newline used for statement terminator: ] [ should continuation character be before comments or before newline? ] [ put continuation character after newline, as in Fortran ] Better is TeX's intuitive solution. The comment marker always joins the lines around it. You don't need another continuation character. ---Dan -- Send compilers articles to compilers@esegue.segue.boston.ma.us {ima | spdcc | world}!esegue. Meta-mail to compilers-request@esegue.