summaryrefslogtreecommitdiff
path: root/src/expr/symbol_table.cpp
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-06-12 09:07:00 -0700
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-06-12 11:07:00 -0500
commitc83ce8f341f88bbffcae8fd2bfbed5c33abf4f66 (patch)
tree913aef18511db45418f26de2ee0f3f892584fcfa /src/expr/symbol_table.cpp
parent9925a54ce86e9b0101563c0ace1b973144490528 (diff)
Refactor parser to define fewer tokens for symbols (#2936)
Diffstat (limited to 'src/expr/symbol_table.cpp')
-rw-r--r--src/expr/symbol_table.cpp2
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);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback