Skip to content

Commit

Permalink
allow semicolon at end of import and using statements. fixes #4130
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Aug 23, 2013
1 parent eb4ce05 commit 9cd4fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@
(if (eqv? (peek-token s) #\newline)
(take-token s))))
#f)))
(rest (if (or (eqv? (peek-token s) #\newline)
(rest (if (or (memv (peek-token s) '(#\newline #\;))
(eof-object? (peek-token s)))
'()
(parse-comma-separated s (lambda (s)
Expand Down

0 comments on commit 9cd4fd0

Please sign in to comment.