bison-patches
[Top][All Lists]
Advanced

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

[PATCH 13/14] glr2.cc: kill trailing white spaces


From: Akim Demaille
Subject: [PATCH 13/14] glr2.cc: kill trailing white spaces
Date: Sun, 12 Sep 2021 14:07:46 +0200

Fixes several calc tests.

Tests 566 568 570 657 still fail because of a name clash when using
%parse-param:

    calc.cc:1395:85: error: declaration shadows a field of 'calc::parser' 
[-Werror,-Wshadow]
    void glr_state::destroy (char const* yymsg, calc::parser& yyparser, 
semantic_value *result, int *count, int *nerrs)
                                                                                
        ^
    calc.hh:441:21: note: previous declaration is here
        semantic_value *result;
                        ^

* data/skeletons/glr2.cc: Fix indentation/trailing spaces.
---
 data/skeletons/glr2.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc
index 70755e99..a639bfe0 100644
--- a/data/skeletons/glr2.cc
+++ b/data/skeletons/glr2.cc
@@ -3224,7 +3224,6 @@ namespace ]b4_namespace_ref[
 } // namespace ]b4_namespace_ref[
 
 
-/* DEBUGGING ONLY */
 #if ]b4_api_PREFIX[DEBUG
 namespace
 {
-- 
2.32.0




reply via email to

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