From ed01707ed79f79b144c1e5074e4bcfb3702eab30 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Tue, 27 Jun 2023 15:02:54 +0300 Subject: [PATCH] update name parser --- grammar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar.js b/grammar.js index 4457076..35f512c 100644 --- a/grammar.js +++ b/grammar.js @@ -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, '"'),