diff options
author | Adrian Thurston <thurston@colm.net> | 2017-07-20 14:23:29 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2017-07-20 14:23:29 -0400 |
commit | d682562dc2871de8ca925cc52a8fedc288a73ade (patch) | |
tree | 9b71bd110f218896ef672b4904ee88d7d29399b0 /src/resolve.cc | |
parent | 3bf99094f2cee563a5c6e60a02b1b236a5eaa187 (diff) | |
download | colm-d682562dc2871de8ca925cc52a8fedc288a73ade.tar.gz |
started on a tree print in postfix notation
Postfix notation can be used as a streaming tree format as both an output and
input.
Diffstat (limited to 'src/resolve.cc')
-rw-r--r-- | src/resolve.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resolve.cc b/src/resolve.cc index 457a9a1b..3209efea 100644 --- a/src/resolve.cc +++ b/src/resolve.cc @@ -622,7 +622,8 @@ void LangStmt::resolve( Compiler *pd ) const case PrintType: case PrintXMLACType: case PrintXMLType: - case PrintStreamType: { + case PrintStreamType: + case PrintDumpType: { /* Push the args backwards. */ for ( CallArgVect::Iter pex = exprPtrVect->last(); pex.gtb(); pex-- ) (*pex)->expr->resolve( pd ); |