diff options
Diffstat (limited to 'redes/preproc.c')
| -rw-r--r-- | redes/preproc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/redes/preproc.c b/redes/preproc.c index 8528c5a..d50ccac 100644 --- a/redes/preproc.c +++ b/redes/preproc.c @@ -3,7 +3,6 @@ #include "syntax.h" void split_str_on_space(char* str, StrVec* result) { - printf("Splitting %s\n", str); String buf = make_String(256); for (int pos = 0; str[pos] != '\0'; pos++) { if (str[pos] == ' ') { @@ -16,7 +15,6 @@ void split_str_on_space(char* str, StrVec* result) { if (buf.count > 0) { char* buf_str = inner(&buf); - printf("Fahh %s\n", buf_str); push_to_StrVec(result, buf_str); } } @@ -24,7 +22,6 @@ void split_str_on_space(char* str, StrVec* result) { StrVec process_word(Word word) { StrVec result = make_StrVec(256); for (int i = 0; i < word.count; i++) { - printf("Chunk %d\n", i); Chunk chunk = *get_from_Word(&word, i); switch (chunk.qmode) { case SINGLE_Q: @@ -60,7 +57,6 @@ Pipeline* process_token_sequence(TokenVec tokens, PipelineVec* pl_pool) { ); tok_pos++ ) { - printf("Boo\n"); StrVec exp_word = make_StrVec(256); switch (curr_tok.kind) { case TOK_WORD: @@ -86,10 +82,8 @@ Pipeline* process_token_sequence(TokenVec tokens, PipelineVec* pl_pool) { default: exit(69); } - printf("Argcount: %d\n", pl_cmd.args.count); for (int k = 0; k < pl_cmd.args.count; k++) { Arg arg = *get_from_ArgVec(&pl_cmd.args, k); - printf("\t%s\n", arg.as.lit_str); } push_to_Pipeline(&pl, pl_cmd); } |
