Commit 340631774ff0ea912df5021cecb3707a346f1657

Thomas de Grivel 2024-07-05T14:39:13

fix buf_parse_ident

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libc3/buf_parse.c b/libc3/buf_parse.c
index b7e6035..5d57726 100644
--- a/libc3/buf_parse.c
+++ b/libc3/buf_parse.c
@@ -1745,6 +1745,7 @@ sw buf_parse_ident (s_buf *buf, s_ident *dest)
   r = buf_parse_ident_sym(buf, &tmp.sym);
   if (r <= 0)
     goto restore;
+  result += r;
   *dest = tmp;
   r = result;
   goto clean;