lisp: INT -> SMI

when we implement big integer support, we should use INT there
instead.  SMI signals intent much better.
This commit is contained in:
2026-03-05 19:41:16 +00:00
parent a50ca72b24
commit b93042fd27
6 changed files with 22 additions and 22 deletions

View File

@@ -46,7 +46,7 @@ void sys_free(sys_t *sys)
lisp_t *make_int(i64 i)
{
return tag_int(i);
return tag_smi(i);
}
lisp_t *cons(sys_t *sys, lisp_t *car, lisp_t *cdr)
@@ -102,7 +102,7 @@ void lisp_free(lisp_t *item)
break;
}
case TAG_NIL:
case TAG_INT:
case TAG_SMI:
case TAG_SYM:
case NUM_TAGS:
// shouldn't be dealt with (either constant or dealt with elsewhere)
@@ -134,7 +134,7 @@ void lisp_free_rec(lisp_t *item)
break;
}
case TAG_NIL:
case TAG_INT:
case TAG_SMI:
case TAG_SYM:
case NUM_TAGS:
// shouldn't be dealt with (either constant or dealt with elsewhere)