[PATCH 1/4] style: reorder and comment

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.