- if (!parser_equation(argv[1], strlen(argv[1]), lista, error)) {
- ParseError_print(error, stderr);
- return EXIT_FAILURE;
+ for (i = 1; i < argc; i++) {
+ if (!parser_equation(argv[i], strlen(argv[i]), lista, error)) {
+ error->line = i;
+ ParseError_print(error, stderr);
+ }