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

Juan Vuletich juan at cuis.st
Fri Sep 13 07:55:55 PDT 2024


Hi Gerald,

Just pushed a fix to GitHub. Thanks for reporting!

Cheers,

On 9/13/2024 10:53 AM, Gerald Klix via Cuis-dev wrote:
> 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
>>>
>>
>>
>


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list