vbscript: Added lexer support for '_'
Jacek Caban
jacek at codeweavers.com
Mon Oct 17 07:30:53 CDT 2011
Hi Bruno,
On 10/14/11 20:07, Bruno Jesus wrote:
> On Fri, Oct 14, 2011 at 13:44, Jacek Caban<jacek at codeweavers.com> wrote:
>> ---
>> dlls/vbscript/lex.c | 10 ++++++++++
>> dlls/vbscript/tests/lang.vbs | 7 +++++++
>> dlls/vbscript/tests/run.c | 2 ++
>> 3 files changed, 19 insertions(+), 0 deletions(-)
>>
> Hi, Jacek, I'm far away from my linux box and I'm just passing by to
> remember that there is a 24 continuation limit.
>
> Here is an invalid operation because it has 26 continuations:
> x = _
> 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 - _
> 3 + _
> 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3 _
> + 3
I've tested it and that doesn't seem to be true.
> And this is another test that must pass too (there is no new operand
> after the last _ ) :
> x = _
> 3 _
> + 3 _
> + 3 _
> + 3 _
This will work only if the next line is empty (exactly like my
implementation does).
Jacek
More information about the wine-devel
mailing list