summaryrefslogtreecommitdiffhomepage
path: root/grammer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'grammer.cpp')
-rw-r--r--grammer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/grammer.cpp b/grammer.cpp
index 31a4bbf..3f3a0f1 100644
--- a/grammer.cpp
+++ b/grammer.cpp
@@ -392,9 +392,6 @@ std::vector<TreeNode> Compiler::compile(std::vector<Token> p_tokens)
clear();
tokens = p_tokens;
- if (tokens.size() == 0)
- throw std::runtime_error("No tokens");
-
//
// top-down algorithm:
//