added literal container and reworked output container handling

This commit is contained in:
Marc Zinnschlag 2010-06-28 16:48:19 +02:00
parent ba847ae9d8
commit 5cf3264bd3
12 changed files with 284 additions and 16 deletions

View file

@ -1,12 +1,10 @@
#ifndef COMPILER_SCRIPTPARSER_H_INCLUDED
#define COMPILER_SCRIPTPARSER_H_INCLUDED
#include <vector>
#include <components/interpreter/types.hpp>
#include "parser.hpp"
#include "lineparser.hpp"
#include "output.hpp"
namespace Compiler
{
@ -16,11 +14,10 @@ namespace Compiler
class ScriptParser : public Parser
{
Output mOutput;
LineParser mLineParser;
Locals& mLocals;
bool mEnd;
std::vector<Interpreter::Type_Code> mCode;
public:
/// \param end of script is marked by end keyword.