bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/6] tests: remove useless location initialization.


From: Akim Demaille
Subject: [PATCH 4/6] tests: remove useless location initialization.
Date: Mon, 5 Nov 2012 13:14:28 +0100

* tests/glr-regression.at: here.
glr.c does initialize yylloc.
---
 tests/glr-regression.at | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tests/glr-regression.at b/tests/glr-regression.at
index 07c9fe2..8570b19 100644
--- a/tests/glr-regression.at
+++ b/tests/glr-regression.at
@@ -1543,13 +1543,6 @@ AT_DATA_GRAMMAR([glr-regr17.y],
   ]AT_YYLEX_DECLARE[
 %}
 
-%initial-action {
-  @$.first_line = 1;
-  @$.first_column = 1;
-  @$.last_line = 1;
-  @$.last_column = 1;
-}
-
 %%
 
 /* Tests the case of an empty RHS that has inherited the location of the
-- 
1.8.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]