added parsing for signed integers and floats

This commit is contained in:
Marc Zinnschlag 2010-06-29 12:05:22 +02:00
parent ab33234027
commit ca8002e533
7 changed files with 126 additions and 13 deletions

View file

@ -29,6 +29,11 @@ namespace Compiler
bool mNextOperand;
TokenLoc mTokenLoc;
char popUnaryOperator();
///< returns 0 and not popping, if the next operator isn't unary
char popOperand (std::vector<Interpreter::Type_Code>& code);
public:
ExprParser (ErrorHandler& errorHandler, Context& context, Locals& locals,