aboutsummaryrefslogtreecommitdiff
path: root/src/stem.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-10 21:50:03 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-10 21:50:03 -0800
commit8569af05d8111654f1839f1cf50175a32b0bc547 (patch)
tree4f1aa81f60a16d0ba1d8edfb0f04e945514b54c2 /src/stem.c
parent4ada155b930cb5fb96493dff3a5af8809da3b214 (diff)
add shit
Diffstat (limited to 'src/stem.c')
-rw-r--r--src/stem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stem.c b/src/stem.c
index b9e0a16..1bea532 100644
--- a/src/stem.c
+++ b/src/stem.c
@@ -7,10 +7,10 @@
#include <stem.h>
#include <string.h>
+/* Global variables defined */
array_t *STACK;
array_t *EVAL_STACK;
ht_t *WORD_TABLE;
-char *INBUF;
parser_t *PARSER;
ht_t *FLIT;
@@ -165,7 +165,7 @@ parser_t *parser_pp(char *s) {
parser_t *p = init_parser(s);
string_t *rstr = init_string(NULL);
while (p->c != '\0') {
- if (p->c == '#') {
+ if (p->c == '#') { /* Comment character is # in stem */
while (p->c != '\n' && p->c != '\0') {
parser_move(p);
}