summaryrefslogtreecommitdiffstats
path: root/kturtle/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/src/parser.cpp')
-rw-r--r--kturtle/src/parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kturtle/src/parser.cpp b/kturtle/src/parser.cpp
index ed2573f9..07a33aea 100644
--- a/kturtle/src/parser.cpp
+++ b/kturtle/src/parser.cpp
@@ -188,7 +188,7 @@ TreeNode* Parser::Factor()
case tokUnknown:
node = getId();
- if (learnedFunctionList.tqcontains(rememberedToken.look) > 0) // is function call
+ if (learnedFunctionList.contains(rememberedToken.look) > 0) // is function call
{
delete node;
node = FunctionCall(rememberedToken);
@@ -1057,7 +1057,7 @@ TreeNode* Parser::Other()
matchToken(tokUnknown);
if (currentToken.type == tokAssign) return Assignment(rememberedToken);
- else if (learnedFunctionList.tqcontains(rememberedToken.look) > 0)
+ else if (learnedFunctionList.contains(rememberedToken.look) > 0)
{
TreeNode* node;
node = FunctionCall(rememberedToken);