diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-24 21:35:52 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-24 21:35:52 -0700 |
commit | 99cc27200fe77f3f3d296b5ee6bbd2641c1473f7 (patch) | |
tree | b4bc898eafc653c3186343037b311882b8e69508 | |
parent | 4f60a4a6b25d42af31ac2a3da5ceb6263162304d (diff) | |
download | mu-99cc27200fe77f3f3d296b5ee6bbd2641c1473f7.tar.gz |
.
-rw-r--r-- | shell/infix.mu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/infix.mu b/shell/infix.mu index 7df3d01b..41e8fa5d 100644 --- a/shell/infix.mu +++ b/shell/infix.mu @@ -406,6 +406,9 @@ fn test-infix { # helpers +# return true if x is composed entirely of operator graphemes, optionally prefixed with some '$'s +# some operator, some non-operator => pre-tokenized symbol; return false +# all '$'s => return false fn operator-symbol? _x: (addr cell) -> _/eax: boolean { var x/esi: (addr cell) <- copy _x { |