view COPYING @ 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 4e12d881df85
children 659e0e4ce50c
line wrap: on
line source

See the file GPL3 for a copy of the GNU General Public License, version 3,
under which the majority of this distribution is licensed.

Some specific source files, including many of those in the lwcc subdirectory
are licensed differently. See each individual file for specific details.