bison-patches
[Top][All Lists]
Advanced

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

[PATCH 1/4] style: reorder and comment


From: Akim Demaille
Subject: [PATCH 1/4] style: reorder and comment
Date: Sun, 20 Sep 2020 08:38:24 +0200

* src/reader.h: here.
---
 src/reader.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/reader.h b/src/reader.h
index 6b4f57ff..39ede8c3 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -35,7 +35,11 @@ typedef struct merger_list
   location type_declaration_loc;
 } merger_list;
 
+void free_merger_functions (void);
+extern merger_list *merge_functions;
+
 void grammar_start_symbol_set (symbol *sym, location loc);
+
 void grammar_current_rule_begin (symbol *lhs, location loc,
                                  named_ref *lhs_named_ref);
 void grammar_current_rule_end (location loc);
@@ -54,10 +58,9 @@ void grammar_current_rule_action_append (const char *action, 
location loc,
                                          named_ref *nref, uniqstr tag);
 /* Attach a PREDICATE to the current rule.  */
 void grammar_current_rule_predicate_append (const char *predicate, location 
loc);
-void reader (const char *gram);
-void free_merger_functions (void);
 
-extern merger_list *merge_functions;
+/* Read in the grammar specification.  */
+void reader (const char *gram);
 
 /* Was %union seen?  */
 extern bool union_seen;
-- 
2.28.0




reply via email to

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