diff options
author | dos-reis <gdr@axiomatics.org> | 2011-04-19 16:12:17 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-04-19 16:12:17 +0000 |
commit | 9430f000bbcedcd6f0edbe1c4852cb2b51c50ccc (patch) | |
tree | 97ad3fbf69b7c15f20c2dbef3f2a11860ec6fd0b /src/interp/word.boot | |
parent | b893a938b4051bc30a9c44bdcf6000bff11969c4 (diff) | |
download | open-axiom-9430f000bbcedcd6f0edbe1c4852cb2b51c50ccc.tar.gz |
* boot/tokens.boot: charUpcase, charDowncase, stringUpcase,
singDowncase, valueEq? are new builtin functions.
* boot/ast.boot (bfMembr): Tidy.
Diffstat (limited to 'src/interp/word.boot')
-rw-r--r-- | src/interp/word.boot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interp/word.boot b/src/interp/word.boot index 8d706adc..0b1a3b92 100644 --- a/src/interp/word.boot +++ b/src/interp/word.boot @@ -42,7 +42,7 @@ buildFunctionTable(dicts) == buildWordTable u == table:= hashTable 'EQ for s in u repeat - key := UPCASE s.0 + key := charUpcase stringChar(s,0) HPUT(table,key,[[s,:wordsOfString s],:HGET(table,key)]) for key in HKEYS table repeat HPUT(table,key, @@ -103,7 +103,8 @@ getListOfFunctionNames(fnames) == SHUT stream res -wordsOfString(s) == [UPCASE x for x in wordsOfStringKeepCase s] +wordsOfString(s) == + [stringUpcase x for x in wordsOfStringKeepCase s] wordsOfStringKeepCase s == wordsOfString1(s,0) or [COPY s] |