[Top][All Lists]
[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
- [PATCH 0/6] {branch-2.6} Minor changes mostly in the test suite, Akim Demaille, 2012/11/06
- [PATCH 2/6] tests: handle %parse-param in the generated yyerror, Akim Demaille, 2012/11/06
- [PATCH 3/6] tests: fix locations in C, Akim Demaille, 2012/11/06
- [PATCH 4/6] tests: remove useless location initialization.,
Akim Demaille <=
- [PATCH 5/6] c++: fix position operator signatures, Akim Demaille, 2012/11/06
- [PATCH 1/6] tests: simplifications, Akim Demaille, 2012/11/06
- [PATCH 6/6] doc: formatting changes, Akim Demaille, 2012/11/06