Skip to content

Commit

Permalink
Merge pull request #129 from liuxingbaoyu/gh-pages
Browse files Browse the repository at this point in the history
fix modifiers
  • Loading branch information
jviereck authored Jul 9, 2022
2 parents 5215b8d + 38c6076 commit 6faf49c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
2 changes: 2 additions & 0 deletions parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,8 @@
bail('flags cannot be duplicated for modifiers group');
}

skip(":");

var modifiersGroup = finishGroup("ignore", from);

modifiersGroup.modifierFlags = {
Expand Down
30 changes: 0 additions & 30 deletions test/test-data-modifiers-group.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@
"type": "group",
"behavior": "ignore",
"body": [
{
"type": "value",
"kind": "symbol",
"codePoint": 58,
"range": [
10,
11
],
"raw": ":"
},
{
"type": "characterClass",
"kind": "union",
Expand Down Expand Up @@ -148,16 +138,6 @@
"type": "group",
"behavior": "ignore",
"body": [
{
"type": "value",
"kind": "symbol",
"codePoint": 58,
"range": [
4,
5
],
"raw": ":"
},
{
"type": "characterClass",
"kind": "union",
Expand Down Expand Up @@ -281,16 +261,6 @@
"type": "group",
"behavior": "ignore",
"body": [
{
"type": "value",
"kind": "symbol",
"codePoint": 58,
"range": [
6,
7
],
"raw": ":"
},
{
"type": "characterClass",
"kind": "union",
Expand Down

0 comments on commit 6faf49c

Please sign in to comment.