Skip to content

Commit

Permalink
fix #3896
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jul 31, 2013
1 parent 41bceff commit b6b4f02
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/jlfrontend.scm
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@
(julia-parse current-token-stream)))))
(if (eof-object? e)
e
(cons (+ (input-port-line (ts:port current-token-stream))
(if (eqv? (peek-token current-token-stream) #\newline)
-1 0))
(parser-wrap
(lambda ()
(parser-wrap
(lambda ()
(cons (+ (input-port-line (ts:port current-token-stream))
(if (eqv? (peek-token current-token-stream) #\newline)
-1 0))
(if (and (pair? e) (or (eq? (car e) 'error)
(eq? (car e) 'continue)))
e
Expand Down

0 comments on commit b6b4f02

Please sign in to comment.