fix: replace direct stdio calls with portable I/O hooks
Co-authored-by: aider (openrouter/moonshotai/kimi-k2.6) <aider@aider.chat>
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ void data_push(int64_t val) {
|
||||
|
||||
int64_t data_pop(void) {
|
||||
if (data_sp < 0) {
|
||||
fprintf(stderr, "Data stack underflow\n");
|
||||
forth_printf("Data stack underflow\n");
|
||||
return 0;
|
||||
}
|
||||
return data_stack[data_sp--];
|
||||
|
||||
Reference in New Issue
Block a user