]> git.saurik.com Git - bison.git/commitdiff
Fix code formatting.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Mon, 26 Jun 2006 04:29:34 +0000 (04:29 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Mon, 26 Jun 2006 04:29:34 +0000 (04:29 +0000)
src/reader.c
src/scan-code.l

index a0c3f855c1b2f77bd605ebc7376a42bc32fd30b5..54d21c4eb476d0bb763d034df041524adc485671 100644 (file)
@@ -448,10 +448,10 @@ packgram (void)
       rules[ruleno].action_location = p->action_location;
 
       /* If this rule contains midrules, rest assured that
-        grammar_midrule_action inserted the midrules into grammar before this
-        rule.  Thus, the midrule actions have already been scanned in order to
-        set `used' flags for this rule's rhs, so grammar_rule_check will work
-        properly.  */
+        grammar_midrule_action inserted the midrules into grammar before this
+        rule.  Thus, the midrule actions have already been scanned in order to
+        set `used' flags for this rule's rhs, so grammar_rule_check will work
+        properly.  */
       grammar_rule_check (p);
 
       for (p = p->next; p && p->sym; p = p->next)
index 471b2a452f16173fed75d375c76b79eb1492ad79..703f2a6f345ff7822d19c0a56a846150030fba33 100644 (file)
@@ -269,17 +269,17 @@ handle_action_dollar (symbol_list *rule, char *text, location dollar_loc)
       if (!type_name)
        type_name = symbol_list_n_type_name_get (rule, dollar_loc, 0);
       if (!type_name && typed)
-       {
-        if (rule->midrule_parent_rule)
-          complain_at (dollar_loc,
-                       _("$$ for the midrule at $%d of `%s' has no declared"
-                         " type"),
-                       rule->midrule_parent_rhs_index,
-                       effective_rule->sym->tag);
-        else
-          complain_at (dollar_loc, _("$$ of `%s' has no declared type"),
-                       rule->sym->tag);
-       }
+       {
+         if (rule->midrule_parent_rule)
+           complain_at (dollar_loc,
+                        _("$$ for the midrule at $%d of `%s' has no declared"
+                          " type"),
+                        rule->midrule_parent_rhs_index,
+                        effective_rule->sym->tag);
+         else
+           complain_at (dollar_loc, _("$$ of `%s' has no declared type"),
+                        rule->sym->tag);
+       }
       if (!type_name)
        type_name = "";
       obstack_fgrow1 (&obstack_for_string,