Re: indents final final algorithm

Greg Ewing <[email protected]> Mon, 05 Apr 2004 16:59:15 +1200
Newsgroups gmane.comp.lang.prothon.user,gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
Mark Hahn <[email protected]>:

> 4) If a line contains an active (not quoted or commented)  (, {, or [
> without a matching end character, then the following line is always a
> continuation, no matter what that following line contains.

Are you sure that's the best way to phrase this rule?
Taken literally, it could mean that

foo = [
1,
2,
3
]

would be illegal, since the line containing 2 isn't immediately
preceded by a line containing an unmatched bracket.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
[email protected]	   +--------------------------------------+