Skip to content

Commit b70fb59

Browse files
committed
Reset seenImport and seenExport for each line
1 parent 00b7d7c commit b70fb59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lexer.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ exports.Lexer = class Lexer
446446
return value.length if skipToken
447447

448448
if value is ';'
449-
@seenFor = no
449+
@seenFor = @seenImport = @seenExport = no
450450
tag = 'TERMINATOR'
451451
else if value in MATH then tag = 'MATH'
452452
else if value in COMPARE then tag = 'COMPARE'

0 commit comments

Comments
 (0)