<p dir="ltr">On 5 Feb 2015 14:11, "Kim Bruce" <<a href="mailto:kim@cs.pomona.edu">kim@cs.pomona.edu</a>> wrote:<br>
><br>
> I could live with either of these. At this point I lean more toward the second, but could live with the more restrictive second.<br>
Which?<br>
><br>
> Checking where ";" can go in Grace, the following program is legal only if print(x) is indented to the right of ;<br>
><br>
> var x: Number := 3<br>
> while {false} do {;<br>
> print(x)<br>
> };<br>
That program is not legal at all.<br>
> Odd, especially when the following is fine:<br>
><br>
> while {false} do {x := x + 3;<br>
> print(x)<br>
> };<br>
Neither is this one.<br>
> >> • at the end of a line, (but not at the end of a continuation that is continued on the following line).<br>
> >> Such comments attach to the first declaration or expression on that line.<br>
> > Is this the same as "may appear where a semicolon could, and attaches<br>
> > to the preceding statement or declaration", or is it "may appear at<br>
> > the end of the first physical line of a continuation-line sequence,<br>
> > and attaches to the whole sequence"?<br>
There is also a third option "may only appear at the end of a physical line that is not part of a continuation-line sequence". That is at least unambiguous.<br>
-Michael</p>