On Apr 5, 2005, at 17:41, Mats Persson wrote:
[...] As I see it, this whole thing will work better after b6 (or later) anyway, so I'm not too bothered.
Just to follow up on this, now that I've seen the syntax:
The problem is that “{” is optionally used to terminate the selector matching rule-block (other options are space or end-of-line). But then this character is eaten and will not start a parameter block (another rule).
Beta 6 will allow for the end pattern to be only a look-ahead assertion, and not actually match any characters. This will fix the problem.
It works and if it enforces a better coding style by the user then that's a good thing in my book.
I guess it's just one step toward the Emacs-style indent that people have requested, which AFAIK enforce some VERY specific rules about how you write your code ;)