Skip to content

Commit 74d6ae5

Browse files
committed
Make op. operators parse for future backwards compat (if desired).
1 parent e24faa5 commit 74d6ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/julia-parser.scm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;; Operator precedence table, lowest at top
22

33
; for most operators X there is a .X "elementwise" equivalent
4-
(define (add-dots ops) (append! ops (map (lambda (op) (symbol (string "." op))) ops)))
4+
(define (add-dots ops) (append! ops (map (lambda (op) (symbol (string "." op))) ops) (map (lambda (op) (symbol (string op "."))) ops)))
55

66
;; note: there are some strange-looking things in here because
77
;; the way the lexer works, every prefix of an operator must also

0 commit comments

Comments
 (0)