[Cuis-dev] [DEFECT] Empty local variable definitions and shout

Gerald Klix cuis.01 at klix.ch
Fri Sep 13 06:53:03 PDT 2024


Sigh!

Here's the next one.

This time shout deems it OK, but it is – of course – not valid syntax:

{1. 2. ^ 3 }


Best Regards,

Gerald



On 9/13/24 3:45 PM, Hernán Wilkinson via Cuis-dev wrote:
> but this is shown correctly by shout: [ | | 1 + 2 ] value
> notice the space between the bars :-) 😂😂😂
>
> On Fri, Sep 13, 2024 at 9:13 AM Gerald Klix via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> Hi all, Hi Juan,
>>
>> There is a difference between shout and the compiler/parser in parsing
>>
>> [ || 1 + 2 ] value.
>>
>> Shout marks this as syntax error,
>> while the expression is parsed and evaluates to 3.
>>
>> I suggest to fix the syntax highlighter, because
>> the automatic removal of unused local variables
>> leaves those empty definitions
>> when deleting the last local variable.
>>
>>
>>
>> Best Regards,
>>
>> Gerald
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2024-09-13_15-50-19.png
Type: image/png
Size: 1764 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240913/949750fc/attachment.png>


More information about the Cuis-dev mailing list