commit | 897fe0c0d0e29875cfa32939237c9a6255c5d044 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Tue Apr 15 22:03:55 2014 +0100 |
committer | Damien George <damien.p.george@gmail.com> | Tue Apr 15 22:03:55 2014 +0100 |
tree | 9dd2dc8ea2fd07c465b12d81b01c946b8e8120b7 | |
parent | d5323f07ff79c20644ff64a247adad54b510a9a9 [diff] [blame] |
py: Add builtin functions bin and oct, and some tests for them.
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index 8620af5..afde772 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py
@@ -18,6 +18,8 @@ codepoint2name[ord('/')] = 'slash' codepoint2name[ord('%')] = 'percent' codepoint2name[ord('#')] = 'hash' +codepoint2name[ord('{')] = 'brace_open' +codepoint2name[ord('}')] = 'brace_close' # this must match the equivalent function in qstr.c def compute_hash(qstr):