summaryrefslogtreecommitdiff
path: root/src/lexparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexparse.c')
-rw-r--r--src/lexparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexparse.c b/src/lexparse.c
index a4105eb..eae5c16 100644
--- a/src/lexparse.c
+++ b/src/lexparse.c
@@ -115,7 +115,7 @@ static void collect_double_q_section(char* line, Word* result_buf, size_t* pos)
push_to_String(&lit_buf, '$');
}
} else {
- push_to_String(&lit_buf, line[*pos]);
+ push_to_String(&lit_buf, line[(*pos)++]);
}
}
if (line[(*pos)++] == '\0') exit(46);