aboutsummaryrefslogtreecommitdiff
path: root/Ld.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cleaning.HEADmasterTrygve Laugstøl2016-07-261-50/+10
|
* lexer/parser:Trygve Laugstøl2016-07-171-16/+52
| | | | | | | | | | | o Renaming the ASSERT_K token to ASSERT. o Fixing a bug in the NAME regex where underscored where not allowed in certain names. o All ASSERT statements use string instead of NAME. o Improving STRING_ANY, allow many non-quote tokens instead of just one. Can probably replace the entire string rule with STRING_ANY now. o Fixing naming of '!', "~" and "?" operators. Ld: o Implement support for multiplication and division operators. o Better error messages.
* parser/lexer:Trygve Laugstøl2016-07-171-5/+44
| | | | | | | o Support special '/DISCARD/' as NAME. o Add 'SORT' as a token. It is equivalent with SORT_BY_NAME. The new rule sort_by_name coverts both. Ld: o Don't die on unknown sections, they can be referenced before declared. Doesn't matter for this app anyway.
* o Working version that can take the data from the LD script. Only tested ↵Trygve Laugstøl2016-07-161-0/+252
with the Intel Quark D2000 LD script. lexer: Allowing capital X in hex numbers too.