nushell / tree-sitter-nu

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

Parsing of range fails #53

Closed kit494way closed 10 months ago

kit494way commented 11 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 11 months ago

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