diff options
Diffstat (limited to 'src/boot/tokens.boot')
-rw-r--r-- | src/boot/tokens.boot | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/boot/tokens.boot b/src/boot/tokens.boot index e8909318..a008556c 100644 --- a/src/boot/tokens.boot +++ b/src/boot/tokens.boot @@ -132,6 +132,11 @@ shoeKeyTableCons()== shoeKeyTable:=shoeKeyTableCons() +keywordId t == + s := or/[k for [k,:v] in entries shoeKeyTable | symbolEq?(v,t)] => + makeSymbol s + t + shoeInsert(s,d) == l := #s h := codePoint stringChar(s,0) |