Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / util / sconfig / sconfig.tab.c_shipped
index 341421b1df1bff304ac2a93ba7bdd2b0dfcc8a51..27c570dd0f27107ff133cc84bce698988a514872 100644 (file)
@@ -2,20 +2,20 @@
 /* A Bison parser, made by GNU Bison 2.4.1.  */
 
 /* Skeleton implementation for Bison's Yacc-like parsers in C
-   
+
       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    Free Software Foundation, Inc.
-   
+
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
@@ -28,7 +28,7 @@
    special exception, which will cause the skeleton and the resulting
    Bison output files to be licensed under the GNU General Public
    License without this special exception.
-   
+
    This special exception was added by the Free Software Foundation in
    version 2.2 of Bison.  */
 
@@ -67,8 +67,6 @@
 
 /* Copy the first part of user declarations.  */
 
-/* Line 189 of yacc.c  */
-#line 1 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
 
 /*
  * sconfig, coreboot device tree compiler
@@ -194,8 +192,6 @@ void yyerror (char const *str)
 }
 
 
-/* Line 189 of yacc.c  */
-#line 199 "/home/Patrick/work/coreboot/util/sconfig/sconfig.tab.c_shipped"
 
 /* Enabling traces.  */
 #ifndef YYDEBUG
@@ -251,8 +247,6 @@ void yyerror (char const *str)
 typedef union YYSTYPE
 {
 
-/* Line 214 of yacc.c  */
-#line 125 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
 
        struct device *device;
        char *string;
@@ -260,8 +254,6 @@ typedef union YYSTYPE
 
 
 
-/* Line 214 of yacc.c  */
-#line 265 "/home/Patrick/work/coreboot/util/sconfig/sconfig.tab.c_shipped"
 } YYSTYPE;
 # define YYSTYPE_IS_TRIVIAL 1
 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
@@ -272,8 +264,6 @@ typedef union YYSTYPE
 /* Copy the second part of user declarations.  */
 
 
-/* Line 264 of yacc.c  */
-#line 277 "/home/Patrick/work/coreboot/util/sconfig/sconfig.tab.c_shipped"
 
 #ifdef short
 # undef short
@@ -1476,8 +1466,6 @@ yyreduce:
     {
         case 2:
 
-/* Line 1455 of yacc.c  */
-#line 132 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
        root.next_sibling = root.children;
        root.next_sibling->next_sibling = root.next_sibling->children;
@@ -1501,8 +1489,6 @@ yyreduce:
 
   case 11:
 
-/* Line 1455 of yacc.c  */
-#line 158 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
        (yyval.device) = new_dev();
        (yyval.device)->chiph_exists = 1;
@@ -1536,8 +1522,6 @@ yyreduce:
 
   case 12:
 
-/* Line 1455 of yacc.c  */
-#line 187 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
        cur_parent = (yyvsp[(3) - (5)].device)->parent;
 
@@ -1569,8 +1553,6 @@ yyreduce:
 
   case 13:
 
-/* Line 1455 of yacc.c  */
-#line 215 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
        (yyval.device) = new_dev();
        (yyval.device)->bustype = (yyvsp[(2) - (4)].number);
@@ -1625,8 +1607,6 @@ yyreduce:
 
   case 14:
 
-/* Line 1455 of yacc.c  */
-#line 265 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
        cur_parent = (yyvsp[(5) - (7)].device)->parent;
        cur_bus = (yyvsp[(5) - (7)].device)->bus;
@@ -1659,8 +1639,6 @@ yyreduce:
 
   case 15:
 
-/* Line 1455 of yacc.c  */
-#line 295 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
                struct resource *r = malloc(sizeof(struct resource));
                memset (r, 0, sizeof(struct resource));
@@ -1680,8 +1658,6 @@ yyreduce:
 
   case 16:
 
-/* Line 1455 of yacc.c  */
-#line 313 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
     {
                struct reg *r = malloc(sizeof(struct reg));
                memset (r, 0, sizeof(struct reg));
@@ -1711,8 +1687,6 @@ yyreduce:
 
 
 
-/* Line 1455 of yacc.c  */
-#line 1716 "/home/Patrick/work/coreboot/util/sconfig/sconfig.tab.c_shipped"
       default: break;
     }
   YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -1923,8 +1897,6 @@ yyreturn:
 
 
 
-/* Line 1675 of yacc.c  */
-#line 340 "/home/Patrick/work/coreboot/util/sconfig/sconfig.y"
 
 void pass0(FILE *fil, struct device *ptr) {
        if ((ptr->type == device) && (ptr->id != 0) && (!ptr->used))
@@ -2085,5 +2057,6 @@ int main(int argc, char** argv) {
        walk_device_tree(staticc, &root, pass1, NULL);
 
        fclose(staticc);
+       return 0;
 }