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 9ade765 commit c4c6847
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 @@ -869,7 +869,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 c4c6847

Please sign in to comment.