]> git.saurik.com Git - bison.git/blobdiff - tests/actions.at
tests: use assert instead of plain abort.
[bison.git] / tests / actions.at
index e5a885ddcfdea2e44a44638d84c7beee676adc47..0cf2e75615924ca4efa1a192623082eaaf118182 100644 (file)
@@ -324,8 +324,7 @@ static
   AT_LOC.last_line = AT_LOC.last_column = AT_LOC.first_line + 9;
 ])[
 
-  if (! (0 <= c && c <= strlen (source)))
-    abort ();
+  assert (0 <= c && c <= strlen (source));
   if (source[c])
     printf ("sending: '%c'", source[c]);
   else