Skip to content

Commit 81afbcf

Browse files
syntax fix (compiler warning)
1 parent f581b43 commit 81afbcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ulisp-esp32.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -5662,7 +5662,8 @@ object *nextitem (gfun_t gfun) {
56625662
sym = internlong(buffer);
56635663
}
56645664
if (buffer[0] == ':') { // handle keywords
5665-
if (!lookupbuiltin(buffer) != ENDFUNCTIONS) sym = cons(bsymbol(QUOTE), cons(sym, nil)); // keywords quote themselves
5665+
if (lookupbuiltin(buffer) == ENDFUNCTIONS) // make sure it isn't a special keyword
5666+
sym = cons(bsymbol(QUOTE), cons(sym, nil)); // keywords quote themselves
56665667
}
56675668
return sym;
56685669
}

0 commit comments

Comments
 (0)