Skip to content

Commit 500a2b2

Browse files
author
Michael Reed
committed
switched ⋆ to unary-and-binary-op
1 parent 5efcf0b commit 500a2b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ is thrown, rather than a `ErrorException` ([#27900]).
3232
* Functions that invoke commands (e.g. `run(::Cmd)`) now throw a `ProcessFailedException`
3333
rather than an `ErrorException`, if those commands exit with non-zero exit code.
3434
([#27900]).
35-
* Added `` (`\star`) as unary operator ([#31604]).
35+
* Added `` (`\star`) as unary and binary operator ([#31604]).
3636

3737
Command-line option changes
3838
---------------------------

src/julia-parser.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
(define unary-op? (Set unary-ops))
108108

109109
; operators that are both unary and binary
110-
(define unary-and-binary-ops '(+ - $ & ~ |.+| |.-|))
110+
(define unary-and-binary-ops '(+ - $ & ~ |.+| |.-|))
111111

112112
(define unary-and-binary-op? (Set unary-and-binary-ops))
113113

0 commit comments

Comments
 (0)