Skip to content

Commit

Permalink
Merge pull request #417 from morphling/nooctal
Browse files Browse the repository at this point in the history
Remove octal literals misfeature
  • Loading branch information
StefanKarpinski committed Feb 20, 2012
2 parents 7ee7d7f + f85189b commit 82711d7
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 82711d7

Please sign in to comment.