replace return with YYABORT
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 28 May 2003 18:55:36 +0000 (18:55 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 28 May 2003 18:55:36 +0000 (18:55 +0000)
lib/calib_yacc.y

index c2f1673e6ed78ca30e13b5cd162226c732a1c9fd..c017e633ef7fa2eabaa477188666d6f48cab6cb2 100644 (file)
@@ -247,7 +247,7 @@ extern comedi_calibration_t* _comedi_parse_calibration_file( const char *cal_fil
                | error
                        {
                                fprintf(stderr, "input error on line %i\n", @1.first_line );
-                               return -1;
+                               YYABORT;
                        }
                ;