From c4c68477a2ccb11dffe427dbe497d5d363464fdd 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 3bad336c80bdc..04cbe4df3e42e 100644 --- a/src/julia-parser.scm +++ b/src/julia-parser.scm @@ -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)