nushell / tree-sitter-nu

A tree-sitter grammar for nu-lang, the language of nushell
MIT License
97 stars 24 forks source link

Parsing of range fails #53

Closed kit494way closed 8 months ago

kit494way commented 9 months ago

スクリーンショット 2024-01-02 172309

This bug is introduced by this change #50. It seems that the rule, which parses a number omitted after decimal point (e.g. 1.) as float, parses head of range value as float incorrectly.

fdncred commented 9 months ago

oh, ya. good catch. i hadn't noticed this one.