diff options
author | Adrian Kummerländer | 2013-10-19 14:49:03 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2013-10-19 14:49:03 +0200 |
commit | aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52 (patch) | |
tree | ebfde8ea3f2a7670a0fbc62fe81aac2c7662fc86 /main.cpp | |
parent | 041a56a919ae49db46fa34adc8de90f0feb69bb0 (diff) | |
download | SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.tar SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.tar.gz SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.tar.bz2 SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.tar.lz SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.tar.xz SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.tar.zst SimpleParser-aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52.zip |
Fixed undefined behavior of tree construction
* Invalid input syntax led to undefined behavior when accessing the top element of an empty stack
** Fixed by introducing a new "topNodeFrom" function which throws an exeption in the case that the given std::stack reference is empty
Diffstat (limited to 'main.cpp')
0 files changed, 0 insertions, 0 deletions