This commit is contained in:
Emil 2023-09-23 17:44:23 +00:00
parent d29226268d
commit 0e98e380f0
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.o
dc

2
dc.c
View File

@ -189,8 +189,10 @@ dcevaln(ns_t * s, char * eval, size_t len)
case ':': REGCHAR(); REGCLAMP(); ns_reg_push_index(s, c); break;
case ';': REGCHAR(); REGCLAMP(); ns_reg_pop_index(s, c); break;
case '!': i += command(eval + i + 1); break;
#if 0
case '?': /* take user input, and execute that
as a slave to current level */ break;
#endif /* 0 */
/* New non-conflicting features not present in DC */
case '@': ns_abs(s); break;
case '"': ns_ceil(s); break;