Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 78896d2

Browse files
authored
[#54] Adjust syntax for import_clause_identifier_pair (#55)
1 parent fc765c4 commit 78896d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = grammar({
7575
),
7676
import_clause_identifier_pair: $ => seq(
7777
field('left', $.identifier),
78-
'=>',
78+
'->',
7979
field('right', $.identifier)
8080
),
8181

test/corpus/statements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import
33
==================
44

5-
import {a => b, c} from 'source'
5+
import {a -> b, c} from 'source'
66

77
---
88

0 commit comments

Comments
 (0)