mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user