[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: x="abc":upper() v.s. x=("abc"):upper() patch
- From: Peter Cawley <lua@...>
- Date: Sun, 16 Aug 2009 03:11:59 +0100
On Sat, Aug 15, 2009 at 11:40 PM, David Manura<dm.lua@math2.org> wrote:
> The new rule
> enforced by the parser becomes "there can be no line break between
> prefixexp and args".
Given that:
functioncall ::= prefixexp args | prefixexp `:´ Name args
In the latter case, is the rule "no line break between prefixexp and
args", or is it "no line break between Name and args"?
Personally, I often find myself using this style of indenting in some
situations:
factory_function(...)
:modifier_method_1(...)
:modifier_method_2(...)
-- etc.
This places a newline between the prefixexp and the args, so if this
no longer works, it would cause me problems.