write code file after successfull parsing

This commit is contained in:
Marc Zinnschlag 2010-06-28 14:07:55 +02:00
parent 0cfeab622d
commit a3ad61b4d0
9 changed files with 63 additions and 13 deletions

View file

@ -29,6 +29,9 @@ namespace Compiler
std::string getName() const;
///< Return script name.
void getCode (std::vector<Interpreter::Type_Code>& code) const;
///< store generated code in \æ code.
virtual bool parseName (const std::string& name, const TokenLoc& loc,
Scanner& scanner);
///< Handle a name token.