]> git.saurik.com Git - bison.git/blobdiff - src/symtab.c
New file: skeleton for GLR (Generalized LR) parser.
[bison.git] / src / symtab.c
index b80bfd51c125df996f1b320d335382e733a6ae39..bb1b275eda134bd3cf6711d57d1f9286a8bd65d4 100644 (file)
@@ -105,7 +105,7 @@ symbol_tag_print (symbol_t *symbol, FILE *out)
 `------------------------------------------------------------------*/
 
 void
-symbol_type_set (symbol_t *symbol, location_t location, char *type_name)
+symbol_type_set (symbol_t *symbol, char *type_name, location_t location)
 {
   if (type_name)
     {
@@ -122,7 +122,7 @@ symbol_type_set (symbol_t *symbol, location_t location, char *type_name)
 `-------------------------------------------------------------------*/
 
 void
-symbol_destructor_set (symbol_t *symbol, location_t location, char *destructor)
+symbol_destructor_set (symbol_t *symbol, char *destructor, location_t location)
 {
   if (destructor)
     {
@@ -161,8 +161,8 @@ symbol_printer_set (symbol_t *symbol, char *printer, location_t location)
 `------------------------------------------------------------------*/
 
 void
-symbol_precedence_set (symbol_t *symbol, location_t location,
-                      int prec, associativity assoc)
+symbol_precedence_set (symbol_t *symbol,
+                      int prec, associativity assoc, location_t location)
 {
   if (assoc != undef_assoc)
     {