added parsing for local variable declarations

This commit is contained in:
Marc Zinnschlag 2010-06-28 12:32:08 +02:00
parent 16f6f27a90
commit bff0855af0
7 changed files with 78 additions and 6 deletions

View file

@ -9,6 +9,15 @@ namespace Compiler
class LineParser : public Parser
{
enum State
{
BeginState,
ShortState, LongState, FloatState,
EndState
};
State mState;
public:
LineParser (ErrorHandler& errorHandler, Context& context);