This commit is contained in:
Kartik K. Agaram 2021-07-24 21:35:52 -07:00
parent 4f60a4a6b2
commit 99cc27200f
1 changed files with 3 additions and 0 deletions

View File

@ -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
{