diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-08-06 17:18:50 -0500 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2019-08-06 15:18:50 -0700 |
commit | f06ea7c4de13e5729885fdfdf5289ee522bb5fa2 (patch) | |
tree | deb33821a20cbc589510c2bc9c465ee4be513511 /src/parser/parser.cpp | |
parent | 951b9789deb2e1a8eb2c5e7b6068c90ffa2cf8ca (diff) |
Properly parse qualified identifiers (#3111)
Diffstat (limited to 'src/parser/parser.cpp')
-rw-r--r-- | src/parser/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp index dec4ebc97..c8e09b8e0 100644 --- a/src/parser/parser.cpp +++ b/src/parser/parser.cpp @@ -110,7 +110,7 @@ Expr Parser::getExpressionForName(const std::string& name) { } Expr Parser::getExpressionForNameAndType(const std::string& name, Type t) { - assert( isDeclared(name) ); + assert(isDeclared(name)); // first check if the variable is declared and not overloaded Expr expr = getVariable(name); if(expr.isNull()) { |