Page 1 of 1

Allow line splitting on all operators &, !, ~, <<, and >>

Posted: Sat Oct 15, 2016 2:41 pm
by Mistrel
We can split on the bitwise OR but not on the other bitwise operators.

This works:

Code: Select all

Procedure A()
  ProcedureReturn A.a|
    %1000
EndProcedure
But not this:

Code: Select all

Procedure B()
  ProcedureReturn A.a&
    %1000
EndProcedure

Procedure C()
  ProcedureReturn A.a!
    %1000
EndProcedure

Procedure D()
  ProcedureReturn A.a~
    %1000
EndProcedure

Procedure E()
  ProcedureReturn A.a<<
    1
EndProcedure

Procedure F()
  ProcedureReturn A.a>>
    1
EndProcedure
I can't split this line to keep it under 80 characters:

Code: Select all

Procedure BitwiseQuad()
  ProcedureReturn Quad&
    %1000000000000000000000000000000000000000000000000000000000000000
EndProcedure

Re: Allow line splitting on all operators &, !, ~, <<, and >

Posted: Sat Oct 15, 2016 2:50 pm
by Shield
I wish we could just split the line wherever we want (using a line continue operator if syntactically required).
Otherwise, it would be nice to put the operators on the next line. Not expecting any change, though. :)

+1 for the request nonetheless.