Skip to content

Commit

Permalink
feat: add parse floats
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-Q committed Feb 14, 2023
1 parent 7be06f4 commit b6ea645
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,7 @@ module.exports = grammar({
$._double_quote_string,
),
_number: _ => /\d+/,
_decimal_number: _ => /\d*[.]?\d*/,
bang: _ => '!',

identifier: $ => choice(
Expand Down
4 changes: 4 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6ea645

Please sign in to comment.