Closed GoogleCodeExporter closed 9 years ago
I think this problem occurs for any file which has an identifier as the last
token. For example, `echo foo >> test.js` will produce a file which causes the
crash.
Line 1068 is:
`if next_token.IsType(Type.SEMICOLON):`
which fails when next_token is None. I believe the fix is just to change this
line to:
`if next_token is None or next_token.IsType(Type.SEMICOLON):`
Original comment by sidnai...@gmail.com
on 21 Sep 2012 at 7:28
Original comment by vagra...@google.com
on 29 Jul 2013 at 7:23
Original comment by vagra...@google.com
on 29 Jul 2013 at 8:17
Original issue reported on code.google.com by
jo...@nimbic.com
on 6 Aug 2012 at 4:47