aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dtc-parser.tab.c_shipped
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2011-05-23 03:01:31 -0400
committerArnaud Lacombe <lacombar@gmail.com>2011-06-09 14:04:47 -0400
commitedfc86aadad371b76d95b11d0bc8eb36c2376d1e (patch)
tree1e6c83e796aee31877380afd6cc8bec6df96cee4 /scripts/dtc/dtc-parser.tab.c_shipped
parent95abef888a3173539c0f12d0c1055e6eb6ffbc89 (diff)
dtc: regen parser
Cc: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Diffstat (limited to 'scripts/dtc/dtc-parser.tab.c_shipped')
-rw-r--r--scripts/dtc/dtc-parser.tab.c_shipped116
1 files changed, 17 insertions, 99 deletions
diff --git a/scripts/dtc/dtc-parser.tab.c_shipped b/scripts/dtc/dtc-parser.tab.c_shipped
index 9be2eea18a30..b05921e1e848 100644
--- a/scripts/dtc/dtc-parser.tab.c_shipped
+++ b/scripts/dtc/dtc-parser.tab.c_shipped
@@ -1,10 +1,9 @@
1 1/* A Bison parser, made by GNU Bison 2.4.3. */
2/* A Bison parser, made by GNU Bison 2.4.1. */
3 2
4/* Skeleton implementation for Bison's Yacc-like parsers in C 3/* Skeleton implementation for Bison's Yacc-like parsers in C
5 4
6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
7 Free Software Foundation, Inc. 6 2009, 2010 Free Software Foundation, Inc.
8 7
9 This program is free software: you can redistribute it and/or modify 8 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
@@ -46,7 +45,7 @@
46#define YYBISON 1 45#define YYBISON 1
47 46
48/* Bison version. */ 47/* Bison version. */
49#define YYBISON_VERSION "2.4.1" 48#define YYBISON_VERSION "2.4.3"
50 49
51/* Skeleton name. */ 50/* Skeleton name. */
52#define YYSKELETON_NAME "yacc.c" 51#define YYSKELETON_NAME "yacc.c"
@@ -67,8 +66,6 @@
67 66
68/* Copy the first part of user declarations. */ 67/* Copy the first part of user declarations. */
69 68
70/* Line 189 of yacc.c */
71#line 21 "dtc-parser.y"
72 69
73#include <stdio.h> 70#include <stdio.h>
74 71
@@ -87,12 +84,10 @@ extern int treesource_error;
87static unsigned long long eval_literal(const char *s, int base, int bits); 84static unsigned long long eval_literal(const char *s, int base, int bits);
88 85
89 86
90/* Line 189 of yacc.c */
91#line 92 "dtc-parser.tab.c"
92 87
93/* Enabling traces. */ 88/* Enabling traces. */
94#ifndef YYDEBUG 89#ifndef YYDEBUG
95# define YYDEBUG 0 90# define YYDEBUG 1
96#endif 91#endif
97 92
98/* Enabling verbose error messages. */ 93/* Enabling verbose error messages. */
@@ -134,8 +129,6 @@ static unsigned long long eval_literal(const char *s, int base, int bits);
134typedef union YYSTYPE 129typedef union YYSTYPE
135{ 130{
136 131
137/* Line 214 of yacc.c */
138#line 39 "dtc-parser.y"
139 132
140 char *propnodename; 133 char *propnodename;
141 char *literal; 134 char *literal;
@@ -154,8 +147,6 @@ typedef union YYSTYPE
154 147
155 148
156 149
157/* Line 214 of yacc.c */
158#line 159 "dtc-parser.tab.c"
159} YYSTYPE; 150} YYSTYPE;
160# define YYSTYPE_IS_TRIVIAL 1 151# define YYSTYPE_IS_TRIVIAL 1
161# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 152# define yystype YYSTYPE /* obsolescent; will be withdrawn */
@@ -166,8 +157,6 @@ typedef union YYSTYPE
166/* Copy the second part of user declarations. */ 157/* Copy the second part of user declarations. */
167 158
168 159
169/* Line 264 of yacc.c */
170#line 171 "dtc-parser.tab.c"
171 160
172#ifdef short 161#ifdef short
173# undef short 162# undef short
@@ -217,7 +206,7 @@ typedef short int yytype_int16;
217#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) 206#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
218 207
219#ifndef YY_ 208#ifndef YY_
220# if YYENABLE_NLS 209# if defined YYENABLE_NLS && YYENABLE_NLS
221# if ENABLE_NLS 210# if ENABLE_NLS
222# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ 211# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
223# define YY_(msgid) dgettext ("bison-runtime", msgid) 212# define YY_(msgid) dgettext ("bison-runtime", msgid)
@@ -607,9 +596,18 @@ static const yytype_uint8 yystos[] =
607 596
608/* Like YYERROR except do call yyerror. This remains here temporarily 597/* Like YYERROR except do call yyerror. This remains here temporarily
609 to ease the transition to the new meaning of YYERROR, for GCC. 598 to ease the transition to the new meaning of YYERROR, for GCC.
610 Once GCC version 2 has supplanted version 1, this can go. */ 599 Once GCC version 2 has supplanted version 1, this can go. However,
600 YYFAIL appears to be in use. Nevertheless, it is formally deprecated
601 in Bison 2.4.2's NEWS entry, where a plan to phase it out is
602 discussed. */
611 603
612#define YYFAIL goto yyerrlab 604#define YYFAIL goto yyerrlab
605#if defined YYFAIL
606 /* This is here to suppress warnings from the GCC cpp's
607 -Wunused-macros. Normally we don't worry about that warning, but
608 some users do, and we want to make it easy for users to remove
609 YYFAIL uses, which will produce warnings from Bison 2.5. */
610#endif
613 611
614#define YYRECOVERING() (!!yyerrstatus) 612#define YYRECOVERING() (!!yyerrstatus)
615 613
@@ -666,7 +664,7 @@ while (YYID (0))
666 we won't break user code: when these are the locations we know. */ 664 we won't break user code: when these are the locations we know. */
667 665
668#ifndef YY_LOCATION_PRINT 666#ifndef YY_LOCATION_PRINT
669# if YYLTYPE_IS_TRIVIAL 667# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
670# define YY_LOCATION_PRINT(File, Loc) \ 668# define YY_LOCATION_PRINT(File, Loc) \
671 fprintf (File, "%d.%d-%d.%d", \ 669 fprintf (File, "%d.%d-%d.%d", \
672 (Loc).first_line, (Loc).first_column, \ 670 (Loc).first_line, (Loc).first_column, \
@@ -1405,8 +1403,6 @@ yyreduce:
1405 { 1403 {
1406 case 2: 1404 case 2:
1407 1405
1408/* Line 1455 of yacc.c */
1409#line 87 "dtc-parser.y"
1410 { 1406 {
1411 the_boot_info = build_boot_info((yyvsp[(3) - (4)].re), (yyvsp[(4) - (4)].node), 1407 the_boot_info = build_boot_info((yyvsp[(3) - (4)].re), (yyvsp[(4) - (4)].node),
1412 guess_boot_cpuid((yyvsp[(4) - (4)].node))); 1408 guess_boot_cpuid((yyvsp[(4) - (4)].node)));
@@ -1415,8 +1411,6 @@ yyreduce:
1415 1411
1416 case 3: 1412 case 3:
1417 1413
1418/* Line 1455 of yacc.c */
1419#line 95 "dtc-parser.y"
1420 { 1414 {
1421 (yyval.re) = NULL; 1415 (yyval.re) = NULL;
1422 ;} 1416 ;}
@@ -1424,8 +1418,6 @@ yyreduce:
1424 1418
1425 case 4: 1419 case 4:
1426 1420
1427/* Line 1455 of yacc.c */
1428#line 99 "dtc-parser.y"
1429 { 1421 {
1430 (yyval.re) = chain_reserve_entry((yyvsp[(1) - (2)].re), (yyvsp[(2) - (2)].re)); 1422 (yyval.re) = chain_reserve_entry((yyvsp[(1) - (2)].re), (yyvsp[(2) - (2)].re));
1431 ;} 1423 ;}
@@ -1433,8 +1425,6 @@ yyreduce:
1433 1425
1434 case 5: 1426 case 5:
1435 1427
1436/* Line 1455 of yacc.c */
1437#line 106 "dtc-parser.y"
1438 { 1428 {
1439 (yyval.re) = build_reserve_entry((yyvsp[(2) - (4)].addr), (yyvsp[(3) - (4)].addr)); 1429 (yyval.re) = build_reserve_entry((yyvsp[(2) - (4)].addr), (yyvsp[(3) - (4)].addr));
1440 ;} 1430 ;}
@@ -1442,8 +1432,6 @@ yyreduce:
1442 1432
1443 case 6: 1433 case 6:
1444 1434
1445/* Line 1455 of yacc.c */
1446#line 110 "dtc-parser.y"
1447 { 1435 {
1448 add_label(&(yyvsp[(2) - (2)].re)->labels, (yyvsp[(1) - (2)].labelref)); 1436 add_label(&(yyvsp[(2) - (2)].re)->labels, (yyvsp[(1) - (2)].labelref));
1449 (yyval.re) = (yyvsp[(2) - (2)].re); 1437 (yyval.re) = (yyvsp[(2) - (2)].re);
@@ -1452,8 +1440,6 @@ yyreduce:
1452 1440
1453 case 7: 1441 case 7:
1454 1442
1455/* Line 1455 of yacc.c */
1456#line 118 "dtc-parser.y"
1457 { 1443 {
1458 (yyval.addr) = eval_literal((yyvsp[(1) - (1)].literal), 0, 64); 1444 (yyval.addr) = eval_literal((yyvsp[(1) - (1)].literal), 0, 64);
1459 ;} 1445 ;}
@@ -1461,8 +1447,6 @@ yyreduce:
1461 1447
1462 case 8: 1448 case 8:
1463 1449
1464/* Line 1455 of yacc.c */
1465#line 125 "dtc-parser.y"
1466 { 1450 {
1467 (yyval.node) = name_node((yyvsp[(2) - (2)].node), ""); 1451 (yyval.node) = name_node((yyvsp[(2) - (2)].node), "");
1468 ;} 1452 ;}
@@ -1470,8 +1454,6 @@ yyreduce:
1470 1454
1471 case 9: 1455 case 9:
1472 1456
1473/* Line 1455 of yacc.c */
1474#line 129 "dtc-parser.y"
1475 { 1457 {
1476 (yyval.node) = merge_nodes((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node)); 1458 (yyval.node) = merge_nodes((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node));
1477 ;} 1459 ;}
@@ -1479,8 +1461,6 @@ yyreduce:
1479 1461
1480 case 10: 1462 case 10:
1481 1463
1482/* Line 1455 of yacc.c */
1483#line 133 "dtc-parser.y"
1484 { 1464 {
1485 struct node *target = get_node_by_ref((yyvsp[(1) - (3)].node), (yyvsp[(2) - (3)].labelref)); 1465 struct node *target = get_node_by_ref((yyvsp[(1) - (3)].node), (yyvsp[(2) - (3)].labelref));
1486 1466
@@ -1494,8 +1474,6 @@ yyreduce:
1494 1474
1495 case 11: 1475 case 11:
1496 1476
1497/* Line 1455 of yacc.c */
1498#line 146 "dtc-parser.y"
1499 { 1477 {
1500 (yyval.node) = build_node((yyvsp[(2) - (5)].proplist), (yyvsp[(3) - (5)].nodelist)); 1478 (yyval.node) = build_node((yyvsp[(2) - (5)].proplist), (yyvsp[(3) - (5)].nodelist));
1501 ;} 1479 ;}
@@ -1503,8 +1481,6 @@ yyreduce:
1503 1481
1504 case 12: 1482 case 12:
1505 1483
1506/* Line 1455 of yacc.c */
1507#line 153 "dtc-parser.y"
1508 { 1484 {
1509 (yyval.proplist) = NULL; 1485 (yyval.proplist) = NULL;
1510 ;} 1486 ;}
@@ -1512,8 +1488,6 @@ yyreduce:
1512 1488
1513 case 13: 1489 case 13:
1514 1490
1515/* Line 1455 of yacc.c */
1516#line 157 "dtc-parser.y"
1517 { 1491 {
1518 (yyval.proplist) = chain_property((yyvsp[(2) - (2)].prop), (yyvsp[(1) - (2)].proplist)); 1492 (yyval.proplist) = chain_property((yyvsp[(2) - (2)].prop), (yyvsp[(1) - (2)].proplist));
1519 ;} 1493 ;}
@@ -1521,8 +1495,6 @@ yyreduce:
1521 1495
1522 case 14: 1496 case 14:
1523 1497
1524/* Line 1455 of yacc.c */
1525#line 164 "dtc-parser.y"
1526 { 1498 {
1527 (yyval.prop) = build_property((yyvsp[(1) - (4)].propnodename), (yyvsp[(3) - (4)].data)); 1499 (yyval.prop) = build_property((yyvsp[(1) - (4)].propnodename), (yyvsp[(3) - (4)].data));
1528 ;} 1500 ;}
@@ -1530,8 +1502,6 @@ yyreduce:
1530 1502
1531 case 15: 1503 case 15:
1532 1504
1533/* Line 1455 of yacc.c */
1534#line 168 "dtc-parser.y"
1535 { 1505 {
1536 (yyval.prop) = build_property((yyvsp[(1) - (2)].propnodename), empty_data); 1506 (yyval.prop) = build_property((yyvsp[(1) - (2)].propnodename), empty_data);
1537 ;} 1507 ;}
@@ -1539,8 +1509,6 @@ yyreduce:
1539 1509
1540 case 16: 1510 case 16:
1541 1511
1542/* Line 1455 of yacc.c */
1543#line 172 "dtc-parser.y"
1544 { 1512 {
1545 add_label(&(yyvsp[(2) - (2)].prop)->labels, (yyvsp[(1) - (2)].labelref)); 1513 add_label(&(yyvsp[(2) - (2)].prop)->labels, (yyvsp[(1) - (2)].labelref));
1546 (yyval.prop) = (yyvsp[(2) - (2)].prop); 1514 (yyval.prop) = (yyvsp[(2) - (2)].prop);
@@ -1549,8 +1517,6 @@ yyreduce:
1549 1517
1550 case 17: 1518 case 17:
1551 1519
1552/* Line 1455 of yacc.c */
1553#line 180 "dtc-parser.y"
1554 { 1520 {
1555 (yyval.data) = data_merge((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].data)); 1521 (yyval.data) = data_merge((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].data));
1556 ;} 1522 ;}
@@ -1558,8 +1524,6 @@ yyreduce:
1558 1524
1559 case 18: 1525 case 18:
1560 1526
1561/* Line 1455 of yacc.c */
1562#line 184 "dtc-parser.y"
1563 { 1527 {
1564 (yyval.data) = data_merge((yyvsp[(1) - (4)].data), (yyvsp[(3) - (4)].data)); 1528 (yyval.data) = data_merge((yyvsp[(1) - (4)].data), (yyvsp[(3) - (4)].data));
1565 ;} 1529 ;}
@@ -1567,8 +1531,6 @@ yyreduce:
1567 1531
1568 case 19: 1532 case 19:
1569 1533
1570/* Line 1455 of yacc.c */
1571#line 188 "dtc-parser.y"
1572 { 1534 {
1573 (yyval.data) = data_merge((yyvsp[(1) - (4)].data), (yyvsp[(3) - (4)].data)); 1535 (yyval.data) = data_merge((yyvsp[(1) - (4)].data), (yyvsp[(3) - (4)].data));
1574 ;} 1536 ;}
@@ -1576,8 +1538,6 @@ yyreduce:
1576 1538
1577 case 20: 1539 case 20:
1578 1540
1579/* Line 1455 of yacc.c */
1580#line 192 "dtc-parser.y"
1581 { 1541 {
1582 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), REF_PATH, (yyvsp[(2) - (2)].labelref)); 1542 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), REF_PATH, (yyvsp[(2) - (2)].labelref));
1583 ;} 1543 ;}
@@ -1585,8 +1545,6 @@ yyreduce:
1585 1545
1586 case 21: 1546 case 21:
1587 1547
1588/* Line 1455 of yacc.c */
1589#line 196 "dtc-parser.y"
1590 { 1548 {
1591 FILE *f = srcfile_relative_open((yyvsp[(4) - (9)].data).val, NULL); 1549 FILE *f = srcfile_relative_open((yyvsp[(4) - (9)].data).val, NULL);
1592 struct data d; 1550 struct data d;
@@ -1607,8 +1565,6 @@ yyreduce:
1607 1565
1608 case 22: 1566 case 22:
1609 1567
1610/* Line 1455 of yacc.c */
1611#line 213 "dtc-parser.y"
1612 { 1568 {
1613 FILE *f = srcfile_relative_open((yyvsp[(4) - (5)].data).val, NULL); 1569 FILE *f = srcfile_relative_open((yyvsp[(4) - (5)].data).val, NULL);
1614 struct data d = empty_data; 1570 struct data d = empty_data;
@@ -1622,8 +1578,6 @@ yyreduce:
1622 1578
1623 case 23: 1579 case 23:
1624 1580
1625/* Line 1455 of yacc.c */
1626#line 223 "dtc-parser.y"
1627 { 1581 {
1628 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); 1582 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref));
1629 ;} 1583 ;}
@@ -1631,8 +1585,6 @@ yyreduce:
1631 1585
1632 case 24: 1586 case 24:
1633 1587
1634/* Line 1455 of yacc.c */
1635#line 230 "dtc-parser.y"
1636 { 1588 {
1637 (yyval.data) = empty_data; 1589 (yyval.data) = empty_data;
1638 ;} 1590 ;}
@@ -1640,8 +1592,6 @@ yyreduce:
1640 1592
1641 case 25: 1593 case 25:
1642 1594
1643/* Line 1455 of yacc.c */
1644#line 234 "dtc-parser.y"
1645 { 1595 {
1646 (yyval.data) = (yyvsp[(1) - (2)].data); 1596 (yyval.data) = (yyvsp[(1) - (2)].data);
1647 ;} 1597 ;}
@@ -1649,8 +1599,6 @@ yyreduce:
1649 1599
1650 case 26: 1600 case 26:
1651 1601
1652/* Line 1455 of yacc.c */
1653#line 238 "dtc-parser.y"
1654 { 1602 {
1655 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); 1603 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref));
1656 ;} 1604 ;}
@@ -1658,8 +1606,6 @@ yyreduce:
1658 1606
1659 case 27: 1607 case 27:
1660 1608
1661/* Line 1455 of yacc.c */
1662#line 245 "dtc-parser.y"
1663 { 1609 {
1664 (yyval.data) = empty_data; 1610 (yyval.data) = empty_data;
1665 ;} 1611 ;}
@@ -1667,8 +1613,6 @@ yyreduce:
1667 1613
1668 case 28: 1614 case 28:
1669 1615
1670/* Line 1455 of yacc.c */
1671#line 249 "dtc-parser.y"
1672 { 1616 {
1673 (yyval.data) = data_append_cell((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].cell)); 1617 (yyval.data) = data_append_cell((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].cell));
1674 ;} 1618 ;}
@@ -1676,8 +1620,6 @@ yyreduce:
1676 1620
1677 case 29: 1621 case 29:
1678 1622
1679/* Line 1455 of yacc.c */
1680#line 253 "dtc-parser.y"
1681 { 1623 {
1682 (yyval.data) = data_append_cell(data_add_marker((yyvsp[(1) - (2)].data), REF_PHANDLE, 1624 (yyval.data) = data_append_cell(data_add_marker((yyvsp[(1) - (2)].data), REF_PHANDLE,
1683 (yyvsp[(2) - (2)].labelref)), -1); 1625 (yyvsp[(2) - (2)].labelref)), -1);
@@ -1686,8 +1628,6 @@ yyreduce:
1686 1628
1687 case 30: 1629 case 30:
1688 1630
1689/* Line 1455 of yacc.c */
1690#line 258 "dtc-parser.y"
1691 { 1631 {
1692 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); 1632 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref));
1693 ;} 1633 ;}
@@ -1695,8 +1635,6 @@ yyreduce:
1695 1635
1696 case 31: 1636 case 31:
1697 1637
1698/* Line 1455 of yacc.c */
1699#line 265 "dtc-parser.y"
1700 { 1638 {
1701 (yyval.cell) = eval_literal((yyvsp[(1) - (1)].literal), 0, 32); 1639 (yyval.cell) = eval_literal((yyvsp[(1) - (1)].literal), 0, 32);
1702 ;} 1640 ;}
@@ -1704,8 +1642,6 @@ yyreduce:
1704 1642
1705 case 32: 1643 case 32:
1706 1644
1707/* Line 1455 of yacc.c */
1708#line 272 "dtc-parser.y"
1709 { 1645 {
1710 (yyval.data) = empty_data; 1646 (yyval.data) = empty_data;
1711 ;} 1647 ;}
@@ -1713,8 +1649,6 @@ yyreduce:
1713 1649
1714 case 33: 1650 case 33:
1715 1651
1716/* Line 1455 of yacc.c */
1717#line 276 "dtc-parser.y"
1718 { 1652 {
1719 (yyval.data) = data_append_byte((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].byte)); 1653 (yyval.data) = data_append_byte((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].byte));
1720 ;} 1654 ;}
@@ -1722,8 +1656,6 @@ yyreduce:
1722 1656
1723 case 34: 1657 case 34:
1724 1658
1725/* Line 1455 of yacc.c */
1726#line 280 "dtc-parser.y"
1727 { 1659 {
1728 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); 1660 (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref));
1729 ;} 1661 ;}
@@ -1731,8 +1663,6 @@ yyreduce:
1731 1663
1732 case 35: 1664 case 35:
1733 1665
1734/* Line 1455 of yacc.c */
1735#line 287 "dtc-parser.y"
1736 { 1666 {
1737 (yyval.nodelist) = NULL; 1667 (yyval.nodelist) = NULL;
1738 ;} 1668 ;}
@@ -1740,8 +1670,6 @@ yyreduce:
1740 1670
1741 case 36: 1671 case 36:
1742 1672
1743/* Line 1455 of yacc.c */
1744#line 291 "dtc-parser.y"
1745 { 1673 {
1746 (yyval.nodelist) = chain_node((yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].nodelist)); 1674 (yyval.nodelist) = chain_node((yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].nodelist));
1747 ;} 1675 ;}
@@ -1749,8 +1677,6 @@ yyreduce:
1749 1677
1750 case 37: 1678 case 37:
1751 1679
1752/* Line 1455 of yacc.c */
1753#line 295 "dtc-parser.y"
1754 { 1680 {
1755 print_error("syntax error: properties must precede subnodes"); 1681 print_error("syntax error: properties must precede subnodes");
1756 YYERROR; 1682 YYERROR;
@@ -1759,8 +1685,6 @@ yyreduce:
1759 1685
1760 case 38: 1686 case 38:
1761 1687
1762/* Line 1455 of yacc.c */
1763#line 303 "dtc-parser.y"
1764 { 1688 {
1765 (yyval.node) = name_node((yyvsp[(2) - (2)].node), (yyvsp[(1) - (2)].propnodename)); 1689 (yyval.node) = name_node((yyvsp[(2) - (2)].node), (yyvsp[(1) - (2)].propnodename));
1766 ;} 1690 ;}
@@ -1768,8 +1692,6 @@ yyreduce:
1768 1692
1769 case 39: 1693 case 39:
1770 1694
1771/* Line 1455 of yacc.c */
1772#line 307 "dtc-parser.y"
1773 { 1695 {
1774 add_label(&(yyvsp[(2) - (2)].node)->labels, (yyvsp[(1) - (2)].labelref)); 1696 add_label(&(yyvsp[(2) - (2)].node)->labels, (yyvsp[(1) - (2)].labelref));
1775 (yyval.node) = (yyvsp[(2) - (2)].node); 1697 (yyval.node) = (yyvsp[(2) - (2)].node);
@@ -1778,8 +1700,6 @@ yyreduce:
1778 1700
1779 1701
1780 1702
1781/* Line 1455 of yacc.c */
1782#line 1783 "dtc-parser.tab.c"
1783 default: break; 1703 default: break;
1784 } 1704 }
1785 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); 1705 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -1990,8 +1910,6 @@ yyreturn:
1990 1910
1991 1911
1992 1912
1993/* Line 1675 of yacc.c */
1994#line 313 "dtc-parser.y"
1995 1913
1996 1914
1997void print_error(char const *fmt, ...) 1915void print_error(char const *fmt, ...)