From c3be4d43ccf61fb4736892964664d4221f38fea6 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 5 Dec 2022 10:09:14 +0300 Subject: [PATCH] cosmetic changes --- grammar.js | 4 ++-- src/grammar.json | 8 ++++---- src/parser.c | Bin 106464 -> 106464 bytes 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/grammar.js b/grammar.js index 7764a6c..1dbf62b 100644 --- a/grammar.js +++ b/grammar.js @@ -30,10 +30,10 @@ module.exports = grammar({ $._end ), - label: ($) => choice($.string, $._unquoted_string), - identifier: ($) => $._identifier, + label: ($) => choice($.string, $._unquoted_string), + attr_value: ($) => choice($.string, $._unquoted_string), _root_attribute: ($) => diff --git a/src/grammar.json b/src/grammar.json index 2d09c3e..da84d96 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -167,6 +167,10 @@ } ] }, + "identifier": { + "type": "SYMBOL", + "name": "_identifier" + }, "label": { "type": "CHOICE", "members": [ @@ -180,10 +184,6 @@ } ] }, - "identifier": { - "type": "SYMBOL", - "name": "_identifier" - }, "attr_value": { "type": "CHOICE", "members": [ diff --git a/src/parser.c b/src/parser.c index 471d95cc49d90834000be3323024e1012c239bef..1ab46155b7a66acbf3aa08d22a1fa5ff55a1d81c 100644 GIT binary patch delta 106 zcmaE`pY6eZwhfRas?nf`(ADyViDh IEykIp0H|amEdT%j delta 106 zcmaE`pY6eZwhf