Skip to content

Commit

Permalink
Remove octal literals misfeature
Browse files Browse the repository at this point in the history
  • Loading branch information
fehrenbach committed Feb 20, 2012
1 parent 383f6c1 commit f85189b
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 @@ -177,7 +177,7 @@
(read-digs)
(disallow #\.)))
(let* ((s (get-output-string str))
(n (string->number s)))
(n (string->number s (if (eq? pred char-hex?) 16 10))))
(if n
(if (eq? pred char-hex?)
(sized-uint-literal n s)
Expand Down

0 comments on commit f85189b

Please sign in to comment.