]> git.saurik.com Git - bison.git/blobdiff - tests/local.at
regen
[bison.git] / tests / local.at
index c79fc08e2c4fba35d00c3c6452cfbe14b22b718f..4499e13f41dee5c3428180fb4075a4e5aee4c488 100644 (file)
@@ -338,7 +338,7 @@ static
   static size_t toknum = 0;
   int res;
   ]AT_USE_LEX_ARGS[;
-  assert (toknum < sizeof input);
+  assert (toknum < sizeof input / sizeof input[0]);
   res = input[toknum++];
   ]$2[;]AT_LOCATION_IF([[
   ]AT_LOC_FIRST_LINE[ = ]AT_LOC_LAST_LINE[ = 1;