jtlc/nodes/CStatementNode.cc
josh 7b8436acb4 added Compiler class to pass to Node::process() instead of a FILE *
git-svn-id: svn://anubis/jtlc/trunk@22 f5bc74b8-7b62-4e90-9214-7121d538519f
2010-01-14 20:27:01 +00:00

14 lines
248 B
C++

#include <stdio.h>
#include <string>
#include "Node.h"
#include "util/refptr.h"
#include "main/Compiler.h"
using namespace std;
void CStatementNode::process(refptr<Compiler> compiler)
{
compiler->write(m_string);
compiler->write("\n");
}