uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit a3c42c23b9c02237e51ba53279f7fe5bac7db623
parent dcc37fd0d51f608ccd97dcd91b28f05c0905af8d
Author: neauoire <aliceffekt@gmail.com>
Date:   Mon, 11 Apr 2022 17:16:05 -0700

Fixed issue with oprunes

Diffstat:
Msrc/uxnasm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -55,7 +55,7 @@ static char ops[][4] = { "ADD", "SUB", "MUL", "DIV", "AND", "ORA", "EOR", "SFT" }; static char symchr[] = {'?', '!', '>', '<', '+', '-', '*', '/'}; -static Uint8 symval[] = {0x08, 0x09, 0x0a, 0x1b, 0x18, 0x19, 0x1a, 0x1b}; +static Uint8 symval[] = {0x08, 0x09, 0x0a, 0x0b, 0x18, 0x19, 0x1a, 0x1b}; static int scmp(char *a, char *b, int len) { int i = 0; while(a[i] == b[i]) if(!a[i] || ++i >= len) return 1; return 0; } /* string compare */ static int sihx(char *s) { int i = 0; char c; while((c = s[i++])) if(!(c >= '0' && c <= '9') && !(c >= 'a' && c <= 'f')) return 0; return i > 1; } /* string is hexadecimal */