even better error checking for extensions with explicit references

This commit is contained in:
Marc Zinnschlag 2010-07-10 12:31:00 +02:00
parent 7f48c64efe
commit 0f742ce7f9
4 changed files with 17 additions and 7 deletions

View file

@ -331,7 +331,7 @@ namespace Compiler
char returnType;
std::string argumentType;
if (extensions->isFunction (keyword, returnType, argumentType))
if (extensions->isFunction (keyword, returnType, argumentType, true))
{
mTokenLoc = loc;
parseArguments (argumentType, scanner);
@ -434,7 +434,7 @@ namespace Compiler
char returnType;
std::string argumentType;
if (extensions->isFunction (keyword, returnType, argumentType))
if (extensions->isFunction (keyword, returnType, argumentType, false))
{
mTokenLoc = loc;
parseArguments (argumentType, scanner);