mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
Issue #1714 ... broken 'in' after raw range 'for'
This commit is contained in:
parent
a2c593bc2c
commit
54110c98d9
3 changed files with 6 additions and 0 deletions
|
@ -238,6 +238,7 @@
|
|||
if (!(match = MULTI_DENT.exec(this.chunk))) return 0;
|
||||
indent = match[0];
|
||||
this.line += count(indent, '\n');
|
||||
this.seenFor = false;
|
||||
prev = last(this.tokens, 1);
|
||||
size = indent.length - 1 - indent.lastIndexOf('\n');
|
||||
noNewlines = this.unfinished();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue