Skip to content

Commit 7614e4a

Browse files
committed
whoops failed to revert #336, doing that now
1 parent 5a8bb7d commit 7614e4a

File tree

4 files changed

+39615
-39734
lines changed

4 files changed

+39615
-39734
lines changed

grammar.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ module.exports = grammar({
6262
precedences: $ => [
6363
[
6464
'member',
65-
'template_call',
6665
'call',
6766
$.update_expression,
6867
'unary_void',
@@ -84,7 +83,7 @@ module.exports = grammar({
8483
],
8584
['new', $.primary_expression],
8685
['assign', $.primary_expression],
87-
['member', 'template_call', 'new_args', 'call', 'new_no_args', $.expression],
86+
['member', 'new_args', 'call', 'new_no_args', $.expression],
8887
['declaration', 'literal'],
8988
[$.primary_expression, $.statement_block, 'object'],
9089
[$.meta_property, $.import],
@@ -791,10 +790,6 @@ module.exports = grammar({
791790
field('function', choice($.primary_expression, $.import)),
792791
field('arguments', choice($.arguments, $.template_string)),
793792
)),
794-
prec('template_call', seq(
795-
field('function', $.primary_expression),
796-
field('arguments', $.template_string),
797-
)),
798793
prec('member', seq(
799794
field('function', $.primary_expression),
800795
field('optional_chain', $.optional_chain),

src/grammar.json

Lines changed: 0 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)