Shell icon indicating copy to clipboard operation
Shell copied to clipboard

Bug with space around "=" character

Open jurgen-vk opened this issue 6 months ago • 1 comments

space around "=" arrent always ignored.

This will throw the error "Open quote expected":

modify (
    type = "back.dir|back.drive"
    // ...
)

this will not:

modify (
    type ="back.dir|back.drive"
    // ...
)

I'm using version 1.9.18 64-bit

It's not a breaking bug, more annoying that it breaks symmetry in my config since i use spaces everywhere around the "=" character. For as far as i know, this is the only specific situation where the whitespace around the "=" character throws an error, I'll update this issue if i find more instances. Devin on Deep Wiki said that the l->is_quote() from function Parser::parse_property is run before the whitespace is skipped, specifically for the type property. I don't know if that's the case, i haven't looked at the code as I'm not familiar with it, and A.I. isn't the most trustworthy.

jurgen-vk avatar Jun 22 '25 23:06 jurgen-vk