Commit e3ddf0f0620a9f3af0803cbbb57edbeeb4958681

Thomas de Grivel 2024-08-13T17:53:22

speed up parser

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libkc3/buf_parse.c b/libkc3/buf_parse.c
index 386ccec..95bf7f6 100644
--- a/libkc3/buf_parse.c
+++ b/libkc3/buf_parse.c
@@ -730,7 +730,7 @@ sw buf_parse_call_access (s_buf *buf, s_call *dest)
     return -1;
   tmp.ident.module = &g_sym_KC3;
   tmp.ident.sym = &g_sym_access;
-  r = buf_parse_tag_primary_3(buf, &tmp.arguments->tag);
+  r = buf_parse_tag_ident(buf, &tmp.arguments->tag);
   if (r <= 0)
     goto restore;
   result += r;