path: root/src
Side-by-side diff
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
2 files changed, 5 insertions, 3 deletions
diff --git a/src/grecs.hin b/src/grecs.hin
index 812834f..486058e 100644
--- a/src/grecs.hin
+++ b/src/grecs.hin
@@ -286,9 +286,10 @@ struct grecs_list *grecs_value_list_create(void);
void grecs_line_acc_create(void);
void grecs_line_acc_free(void);
void grecs_line_acc_grow_char(int c);
-void grecs_line_acc_grow_char_unescape(int c);
+int grecs_line_acc_grow_char_unescape(int c);
void grecs_line_acc_grow(const char *text, size_t len);
-void grecs_line_acc_grow_unescape_last(char *text, size_t len);
+void grecs_line_acc_grow_unescape_last(char *text, size_t len,
+ grecs_locus_t const *loc);
void grecs_line_begin(void);
#define grecs_line_add grecs_line_acc_grow
diff --git a/src/lineacc.c b/src/lineacc.c
index c1957a6..3d5b4d6 100644
--- a/src/lineacc.c
+++ b/src/lineacc.c
@@ -61,7 +61,8 @@ grecs_line_acc_grow(const char *text, size_t len)
/* Same, but unescapes the last character from text */
-grecs_line_acc_grow_unescape_last(char *text, size_t len, grecs_locus_t *loc)
+grecs_line_acc_grow_unescape_last(char *text, size_t len,
+ grecs_locus_t const *loc)
grecs_txtacc_grow(line_acc, text, len - 2);
if (grecs_line_acc_grow_char_unescape(text[len - 1]) && loc)

Return to:

Send suggestions and report system problems to the System administrator.