abouttreesummaryrefslogcommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-02 16:19:30 +0200
committerPatrick Schönberger2021-08-02 16:19:30 +0200
commit17fac686375c2823d22415e32e5b7e63bbfe7c54 (patch)
treeaa19aee9660d1d188a6f166c0010b017b68e752c /src
parentc70926cf67a044a662b2587edb585c2c45c52902 (diff)
downloadtoc-17fac686375c2823d22415e32e5b7e63bbfe7c54.tar.gz
toc-17fac686375c2823d22415e32e5b7e63bbfe7c54.zip
generic grammar
Diffstat (limited to 'src')
-rw-r--r--src/check.h4
-rw-r--r--src/repr.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/src/check.h b/src/check.h
index 9e6797f..4e52ccd 100644
--- a/src/check.h
+++ b/src/check.h
@@ -8,10 +8,6 @@ bool checkStmt(
std::vector<Function> funcs,
std::vector<Variable> vars)
{
- // switch (s.type) {
- // case StmtType::Assign:
- // if (!checkVar(s._assign.))
- // }
return true;
}
diff --git a/src/repr.h b/src/repr.h
index e45464c..eb46e3a 100644
--- a/src/repr.h
+++ b/src/repr.h
@@ -17,6 +17,7 @@ struct Program;
struct FuncExpr;
struct LitExpr;
struct IdentifierExpr;
+struct AccessExpr;
struct BracketsExpr;
struct UnaryOperatorExpr;
struct BinaryOperatorExpr;