fixed a constness-issue

This commit is contained in:
Marc Zinnschlag 2014-02-14 12:23:00 +01:00
parent 910d62e4b8
commit d213c6c36a
18 changed files with 39 additions and 39 deletions

View file

@ -52,7 +52,7 @@ namespace Compiler
// Return context
Context& Parser::getContext()
const Context& Parser::getContext() const
{
return mContext;
}
@ -64,7 +64,7 @@ namespace Compiler
return lowerCase;
}
Parser::Parser (ErrorHandler& errorHandler, Context& context)
Parser::Parser (ErrorHandler& errorHandler, const Context& context)
: mErrorHandler (errorHandler), mContext (context), mOptional (false), mEmpty (true)
{}