update name parser
This commit is contained in:
parent
fdc69c1a79
commit
ed01707ed7
@ -12,7 +12,7 @@ module.exports = grammar(
|
||||
$.package,
|
||||
$.config
|
||||
)),
|
||||
_name_fragment: $ => /[A-Za-z0-9]+/,
|
||||
_name_fragment: $ => /[A-Za-z0-9_]+/,
|
||||
name: $ => choice(
|
||||
$._name_fragment,
|
||||
seq('"', $._name_fragment, '"'),
|
||||
|
Loading…
Reference in New Issue
Block a user