Mercurial > hg > index.cgi
view .hgignore @ 366:433dbc18fb41
Make byte overflow detection for 8 bit immediate not fail with COM operator
This is a horrible hack. Add a quick and dirty context to expression parsing
so that it knows whether an 8 bit or 16 bit complement is required. The 8
bit complement will just discard anything above bit 7. When returning an
operator back with lwasm_whichop(), the result will still be "COM" which
should allow other things to keep working as they already do.
This does prevent byte overflows when the complement operator is used,
however, and since those were introduced, there were problems building
Nitros9 among other things. This fix allows Nitros9 to build again.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 02 Jun 2015 20:58:14 -0600 |
parents | f90c9b044220 |
children | 5b8871fd7503 |
line wrap: on
line source
\.exe$ \.o$ \.d$ \.a$ ~$ \.orig$ /lwbasic$ /lwlink$ /lwobjdump$ /lwar$ /lwasm$ /lwcc/lwcc$ /lwcc/lwcpp$ # for windows \.suo$ \.sdf$ \.opensdf$ \Debug$ \Release$