Browse Source

compiles

master
Emil 7 months ago
parent
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. +1
    -0
      .gitignore
  2. +2
    -0
      dc.c

+ 1
- 0
.gitignore View File

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

+ 2
- 0
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;