aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions.h
AgeCommit message (Collapse)Author
2014-09-26Eliminated manual division through zero preventionAdrian Kummerlaender
* while integer division through zero is obviously a low level error that should be prevented, this operation is well-defined for floating point values as used by SimpleParser
2013-10-20Implemented constant identifier functionalityAdrian Kummerländer
* SimpleParser optionally acceps a pointer to an ConstantMap containing string keys mapping to values * Constants are handled in their own ConstantNode class derived from the standard Node class * Operator precedence is now determined separated from the TokenType using a new PrecedenceLevel enum ** Conversion between tokens and their PrecedenceLevel is possible using the new utility function getPrecedence * Added additional test cases for constant identifier resolutions
2013-01-11Included previously missing exceptions headerAdrian Kummerländer