diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-06-12 09:07:00 -0700 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-06-12 11:07:00 -0500 |
commit | c83ce8f341f88bbffcae8fd2bfbed5c33abf4f66 (patch) | |
tree | 913aef18511db45418f26de2ee0f3f892584fcfa /src/expr | |
parent | 9925a54ce86e9b0101563c0ace1b973144490528 (diff) |
Refactor parser to define fewer tokens for symbols (#2936)
Diffstat (limited to 'src/expr')
-rw-r--r-- | src/expr/symbol_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/symbol_table.cpp b/src/expr/symbol_table.cpp index 600f666bc..dd75170b5 100644 --- a/src/expr/symbol_table.cpp +++ b/src/expr/symbol_table.cpp @@ -456,7 +456,7 @@ bool SymbolTable::Implementation::isBound(const string& name) const { bool SymbolTable::Implementation::isBoundDefinedFunction( const string& name) const { - CDHashMap<string, Expr>::iterator found = d_exprMap->find(name); + CDHashMap<string, Expr>::const_iterator found = d_exprMap->find(name); return found != d_exprMap->end() && d_functions->contains((*found).second); } |