diff options
author | Adrian Thurston <thurston@complang.org> | 2015-03-14 15:07:54 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-03-14 15:07:54 -0400 |
commit | 71548b81cd65687f53ecb2abcf14807d488d7af5 (patch) | |
tree | 7cfade7a4cd01a201fbd6875e273ffb8b232a10a /src/declare.cc | |
parent | b2a6b17f584b4bfcedbb405a65d020506cd82458 (diff) | |
download | colm-71548b81cd65687f53ecb2abcf14807d488d7af5.tar.gz |
added string.atoo (octal version of atoi)
Need to clean up these function names and make them global.
Diffstat (limited to 'src/declare.cc')
-rw-r--r-- | src/declare.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declare.cc b/src/declare.cc index 3e672b28..01cd8a0d 100644 --- a/src/declare.cc +++ b/src/declare.cc @@ -797,6 +797,9 @@ void Compiler::declareStrFields( ) initFunction( uniqueTypeInt, strObj, "atoi", IN_STR_ATOI, IN_STR_ATOI, true, true ); + initFunction( uniqueTypeInt, strObj, "atoo", + IN_STR_ATOO, IN_STR_ATOO, true, true ); + initFunction( uniqueTypeInt, strObj, "uord8", IN_STR_UORD8, IN_STR_UORD8, true, true ); |