summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
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
commit0916bce4d23c59e3d12df3b216fad62b60e4f155 (patch)
treee2c748503eae4db77d3f247d12485cbc9cf24a41 /exec.c
parentc871db694f849075dd3f6637abd424272f112af5 (diff)
add exec to the lex refactor
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 061fa69..d07ea73 100644
--- a/exec.c
+++ b/exec.c
@@ -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: