bison-patches
[Top][All Lists]
Advanced

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

lint removal from parse-gram.y


From: Paul Eggert
Subject: lint removal from parse-gram.y
Date: Fri, 09 Dec 2005 14:50:38 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

I installed this:

2005-12-09  Paul Eggert  <address@hidden>

        * src/parse-gram.y: Fix minor problems uncovered by lint.
        (current_lhs, current_lhs_location): Now static.
        (current_assoc): Remove unused variable.

--- src/parse-gram.y    12 Oct 2005 10:15:12 -0000      1.62
+++ src/parse-gram.y    9 Dec 2005 22:22:11 -0000
@@ -53,9 +53,8 @@ static void add_param (char const *, cha
 
 static symbol_class current_class = unknown_sym;
 static uniqstr current_type = 0;
-symbol *current_lhs;
-location current_lhs_location;
-assoc current_assoc;
+static symbol *current_lhs;
+static location current_lhs_location;
 static int current_prec = 0;
 %}
 




reply via email to

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