diff options
author | Adrian Kummerländer | 2013-10-19 20:11:56 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2013-10-19 20:11:56 +0200 |
commit | 9a95b5d24b2b2f5111e1862875d4136964a59548 (patch) | |
tree | 9ac96fdf846ae19e2278f9540593823fa8ba3b21 /test.cc | |
parent | aca18e1803b3d54e6c9d7444e8b9c1bf09d12f52 (diff) | |
download | SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.tar SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.tar.gz SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.tar.bz2 SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.tar.lz SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.tar.xz SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.tar.zst SimpleParser-9a95b5d24b2b2f5111e1862875d4136964a59548.zip |
Improvement: Replaced "priority" with TokenType
* Made implementation more expressive by replacing the integer priority with an strictly typed enum called TokenType
** Made removal of character comparisons from tree construction and lexer possible
* As a side effect distinct numbers had to be assigned to each token
** Operators of same priority do not have identical numbers anymore
Diffstat (limited to 'test.cc')
0 files changed, 0 insertions, 0 deletions