Closed alextretyak closed 3 years ago
https://github.com/s-ludwig/sdlite/blob/6c82628acb872de74906acd98d0b539e142ddd83/source/sdlite/lexer.d#L753
It looks like a bug. If ch < 'A' then it can not be > 'Z', and vice versa. So, this condition is always false. Maybe there should be ch < 'A' || ch > 'Z' instead?
ch < 'A'
> 'Z'
ch < 'A' || ch > 'Z'
https://github.com/s-ludwig/sdlite/blob/6c82628acb872de74906acd98d0b539e142ddd83/source/sdlite/lexer.d#L753
It looks like a bug. If
ch < 'A'
then it can not be> 'Z'
, and vice versa. So, this condition is always false. Maybe there should bech < 'A' || ch > 'Z'
instead?