Skip to content

Commit

Permalink
fix: device name
Browse files Browse the repository at this point in the history
Closes #11.
  • Loading branch information
luckasRanarison committed Jan 9, 2024
1 parent 43100f8 commit 42aa727
Show file tree
Hide file tree
Showing 3 changed files with 677 additions and 696 deletions.
4 changes: 2 additions & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ module.exports = grammar({
params: ($) =>
prec(-1, seq($._value, repeat(seq(",", optional($._value))))),

name: () => /[a-zA-Z][a-zA-Z0-9_\.\-]*/,
name: () => /[\w\d][\w\d\/\.\-]*/,

variable: () => seq("$", /[a-zA-Z_][a-zA-Z0-9_]*/),
variable: () => seq("$", /\w[\w\d]*/),

_linebreak: () => "\n",

Expand Down
4 changes: 2 additions & 2 deletions src/grammar.json

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

Loading

0 comments on commit 42aa727

Please sign in to comment.