Make Python and C interpreters conform.

The Python one still checks number before type with get_n_items().
I can live with that for now.
This commit is contained in:
Simon Forman
2023-02-12 16:17:27 -08:00
parent eb38a7e817
commit aacd9764fe
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -845,7 +845,7 @@ joy(JoyListPtr stack, JoyListPtr expression)
}
/* Set quiet mode by "-q as only command line option. "*/
/* Set quiet mode by "-q" as only command line option. */
int quiet = 0;
#define SHH(message) \
@@ -876,7 +876,7 @@ main(int argc, char *argv[])
line = (char *)GC_malloc(1025);
while (1) {
SHH("\njoy? ")
SHH("joy? ")
status = gets_s(line, 1025);
if (NULL == status) {
/*
@@ -893,7 +893,7 @@ main(int argc, char *argv[])
TODO: "use feof(3) and ferror(3)"...
*/
SHH("bye\n")
SHH("\n")
break;
}
s = stack;