Searched refs:error_count (Results 1 - 3 of 3) sorted by relevance
/bootable/recovery/edify/ |
H A D | main.c | 24 extern int yyparse(Expr** root, int* error_count); 34 int error_count = 0; local 35 error = yyparse(&e, &error_count); 36 if (error > 0 || error_count > 0) { 38 expr_str, error_count); 195 int error_count = 0; local 197 int error = yyparse(&root, &error_count); 198 printf("parse returned %d; %d errors encountered\n", error, error_count); 199 if (error == 0 || error_count > 0) {
|
H A D | parser.y | 29 void yyerror(Expr** root, int* error_count, const char* s); 30 int yyparse(Expr** root, int* error_count); 51 %parse-param {int* error_count} 95 yyerror(root, error_count, buffer); 124 void yyerror(Expr** root, int* error_count, const char* s) { 129 ++*error_count;
|
/bootable/recovery/updater/ |
H A D | updater.c | 100 int error_count = 0; local 102 int error = yyparse(&root, &error_count); 103 if (error != 0 || error_count > 0) { 104 fprintf(stderr, "%d parse errors\n", error_count);
|
Completed in 118 milliseconds