Skip to content

Commit

Permalink
parse 3x as 3 .* x, not 3*x, so that literal multiplications by juxta…
Browse files Browse the repository at this point in the history
…position get fused
  • Loading branch information
stevengj committed Aug 3, 2016
1 parent 46383a2 commit ab00ecf
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 @@ -865,7 +865,7 @@
(begin
#;(if (and (number? ex) (= ex 0))
(error "juxtaposition with literal \"0\""))
`(call * ,ex ,(parse-unary s))))
`(call .* ,ex ,(parse-unary s))))
(else ex))))

(define (invalid-identifier-name? ex)
Expand Down

0 comments on commit ab00ecf

Please sign in to comment.