diff options
author | RJ Catalano <rcatalano@macsales.com> | 2016-02-09 05:43:22 +0800 |
---|---|---|
committer | RJ Catalano <rcatalano@macsales.com> | 2016-02-19 01:22:52 +0800 |
commit | 7b918a7bc7a3c619682266b1c2566dacb9dcc765 (patch) | |
tree | a8763b90b26cafff938c3cbc261fa85627ac4a8a /libsolidity/ast/ASTPrinter.cpp | |
parent | fca27b9ea00eb580f771820e967f62b58478c9a2 (diff) | |
download | dexon-solidity-7b918a7bc7a3c619682266b1c2566dacb9dcc765.tar.gz dexon-solidity-7b918a7bc7a3c619682266b1c2566dacb9dcc765.tar.zst dexon-solidity-7b918a7bc7a3c619682266b1c2566dacb9dcc765.zip |
changes to redefine the token list, the scanner, and the parser and how they pass around variable types of different sizes
not ready for change to FixedPoint just yet
made this more const correct and added a switch statement for easier reading
Diffstat (limited to 'libsolidity/ast/ASTPrinter.cpp')
-rw-r--r-- | libsolidity/ast/ASTPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTPrinter.cpp b/libsolidity/ast/ASTPrinter.cpp index bc981f7d..283bc8f9 100644 --- a/libsolidity/ast/ASTPrinter.cpp +++ b/libsolidity/ast/ASTPrinter.cpp @@ -145,7 +145,7 @@ bool ASTPrinter::visit(TypeName const& _node) bool ASTPrinter::visit(ElementaryTypeName const& _node) { - writeLine(string("ElementaryTypeName ") + Token::toString(_node.typeName())); + writeLine(string("ElementaryTypeName ") + _node.typeName().toString()); printSourcePart(_node); return goDeeper(); } @@ -331,7 +331,7 @@ bool ASTPrinter::visit(Identifier const& _node) bool ASTPrinter::visit(ElementaryTypeNameExpression const& _node) { - writeLine(string("ElementaryTypeNameExpression ") + Token::toString(_node.typeToken())); + writeLine(string("ElementaryTypeNameExpression ") + _node.typeName().toString()); printType(_node); printSourcePart(_node); return goDeeper(); |