allow use of IDs as function arguments, even if the ID matches a keyword (Fixes #2830)

This commit is contained in:
Marc Zinnschlag 2015-08-05 17:20:01 +02:00
parent 8c8c5328dc
commit cbf9f83b85
4 changed files with 48 additions and 2 deletions

View file

@ -32,6 +32,10 @@ namespace Compiler
///< Handle a name token.
/// \return fetch another token?
virtual bool parseKeyword (int keyword, const TokenLoc& loc, Scanner& scanner);
///< Handle a keyword token.
/// \return fetch another token?
virtual bool parseSpecial (int code, const TokenLoc& loc, Scanner& scanner);
///< Handle a special character token.
/// \return fetch another token?