diff options
| author | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-18 12:09:53 +0200 |
|---|---|---|
| committer | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-18 12:09:53 +0200 |
| commit | 0916bce4d23c59e3d12df3b216fad62b60e4f155 (patch) | |
| tree | e2c748503eae4db77d3f247d12485cbc9cf24a41 | |
| parent | c871db694f849075dd3f6637abd424272f112af5 (diff) | |
add exec to the lex refactor
| -rw-r--r-- | exec.c | 2 | ||||
| -rw-r--r-- | main.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -56,7 +56,7 @@ void add_expchunk(char* next_str, WordSplittingGerm* curr_res) { StrVec expand_word(Word word, ShellState* state) { WordSplittingGerm curr_res = {.complete_strs = make_StrVec(256), .active_str = make_String(25)}; for (int i = 0; i < word.count; i++) { - Chunk curr_cunk = *get_from_Word(&word, i); + Chunk curr_cunk = **get_from_Word(&word, i); ExpandedChunk curr_exp = expand_chunk(curr_cunk, state); switch (curr_exp.qmode) { case UN_Q: @@ -27,9 +27,7 @@ int main() { tokstream[i] = **get_from_TokenPtrVec(&line_tok_ptrs, i); } Pipeline pl = parse_tokstream(tokstream); - /* run_pipeline(pl, &shstate); - */ free(tokstream); } free(line); |
