This is unsafe since the find() method can return a past-the-end iterator, which should be tested for. Replace most instances by calls to the std::map::at() method (which throws if the key is unknown), and which is incidentally more readable. |
||
---|---|---|
.. | ||
Directives.cc | ||
Directives.hh | ||
Driver.cc | ||
Driver.hh | ||
Environment.cc | ||
Environment.hh | ||
Expressions.cc | ||
Expressions.hh | ||
ForwardDeclarationsAndEnums.hh | ||
Makefile.am | ||
Parser.yy | ||
Tokenizer.ll |