Skip to content

Commit c4c6847

Browse files
committed
parse 3x as 3 .* x, not 3*x, so that literal multiplications by juxtaposition get fused
1 parent 9ade765 commit c4c6847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/julia-parser.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@
869869
(begin
870870
#;(if (and (number? ex) (= ex 0))
871871
(error "juxtaposition with literal \"0\""))
872-
`(call * ,ex ,(parse-unary s))))
872+
`(call .* ,ex ,(parse-unary s))))
873873
(else ex))))
874874

875875
(define (invalid-identifier-name? ex)

0 commit comments

Comments
 (0)