parser/ast: update println -> putstr

This commit is contained in:
2026-01-28 07:13:41 +00:00
parent e5152aac67
commit 947e05cdc8
2 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ const char *ast_prim_to_cstr(ast_prim_t prim)
{
case AST_PRIM_NIL:
return "nil";
case AST_PRIM_PRINTLN:
return "println";
case AST_PRIM_PUTSTR:
return "putstr";
default:
FAIL("Unexpected AST primitive value: %d\n", prim);
}