Skip to content

Commit

Permalink
reject .! operator
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 13, 2016
1 parent d69dded commit b001d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@
(loop newop (peek-char port)))
str))
str))))
(if (equal? str "--")
(error "invalid operator \"--\""))
(if (or (equal? str "--") (equal? str ".!"))
(error (string "invalid operator \"" str "\"")))
(string->symbol str))))

(define (accum-digits c pred port lz)
Expand Down

0 comments on commit b001d98

Please sign in to comment.