From ab00ecff0d8e037f72dd5ac3b597007369eaae3a Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Wed, 3 Aug 2016 16:46:22 -0400 Subject: [PATCH] parse 3x as 3 .* x, not 3*x, so that literal multiplications by juxtaposition get fused --- src/julia-parser.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/julia-parser.scm b/src/julia-parser.scm index 0e6d319f56c794..c2abcd9f8adfde 100644 --- a/src/julia-parser.scm +++ b/src/julia-parser.scm @@ -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)