Skip to content

Commit

Permalink
test_C_main.c: call extxyz_read_ll with needed args
Browse files Browse the repository at this point in the history
  • Loading branch information
stenczelt committed Jun 29, 2024
1 parent 3c7f293 commit d309da2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libextxyz/test_C_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ int main(int argc, char *argv[]) {
int nat;
DictEntry *info, *arrays;

int success = extxyz_read_ll(kv_grammar, fp, &nat, &info, &arrays);
char comment;
char error_message;

int success = extxyz_read_ll(kv_grammar, fp, &nat, &info, &arrays, &comment, &error_message);
if (! strcmp(argv[2], "T")) {
printf("parsed success %d\n", success);
printf("nat %d\n", nat);
Expand Down

0 comments on commit d309da2

Please sign in to comment.