Listing functions

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-06-26 13:21:09 +02:00
parent 62008635c5
commit 36e2a46e07

3
exec.c
View file

@ -277,7 +277,8 @@ int main(int argc, char **argv)
exit(1); exit(1);
} }
for (i = 0; i < prog->functions_count; ++i) { for (i = 1; i < prog->functions_count; ++i) {
printf("Found function: %s\n", prog_getstring(prog, prog->functions[i].name));
} }
prog_delete(prog); prog_delete(prog);