Skip to content

Commit c19db76

Browse files
committed
Rename production rule
1 parent 1e2992d commit c19db76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"return $$ = $1"
3535
]
3636
],
37-
"simpleExpression": [
37+
"license": [
3838
[
3939
"LICENSE",
4040
"$$ = {license: yytext}"
@@ -54,11 +54,11 @@
5454
],
5555
"expression": [
5656
[
57-
"simpleExpression",
57+
"license",
5858
"$$ = $1"
5959
],
6060
[
61-
"simpleExpression WITH EXCEPTION",
61+
"license WITH EXCEPTION",
6262
"$$ = {exception: $3}; $$.license = $1.license; if ($1.hasOwnProperty('plus')) { $$.plus = $1.plus }"
6363
],
6464
[

0 commit comments

Comments
 (0)