528
528
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
529
529
static const yytype_uint16 yyrline[] =
531
0, 66, 66, 69, 75, 76, 79, 80, 81, 82,
532
83, 86, 92, 98, 102, 108, 114, 115, 118, 119,
533
120, 123, 128, 135, 145, 146, 149, 156, 157, 160,
534
161, 164, 165, 166, 167, 168, 169, 170, 171, 172,
535
173, 176, 193, 251, 261, 266, 267, 272, 278, 284,
531
0, 66, 66, 69, 76, 77, 80, 81, 82, 83,
532
84, 87, 93, 99, 103, 110, 117, 118, 121, 122,
533
123, 126, 132, 139, 150, 151, 154, 161, 162, 165,
534
166, 169, 170, 171, 172, 173, 174, 175, 176, 177,
535
178, 181, 199, 259, 270, 275, 276, 282, 289, 296,
1508
1508
#line 70 "imap_csim.y"
1510
1510
g_strreplace(&_map_info->image_name, (yyvsp[(5) - (7)].id));
1511
g_free ((yyvsp[(5) - (7)].id));
1515
#line 81 "imap_csim.y"
1516
#line 82 "imap_csim.y"
1520
#line 82 "imap_csim.y"
1521
#line 83 "imap_csim.y"
1522
{ g_free ((yyvsp[(3) - (3)].id)); }
1525
#line 83 "imap_csim.y"
1526
#line 84 "imap_csim.y"
1527
{ g_free ((yyvsp[(3) - (3)].id)); }
1530
#line 87 "imap_csim.y"
1531
#line 88 "imap_csim.y"
1532
1533
_map_info->old_image_width = (yyvsp[(3) - (3)].val);
1537
#line 93 "imap_csim.y"
1538
#line 94 "imap_csim.y"
1539
1540
_map_info->old_image_height = (yyvsp[(3) - (3)].val);
1544
#line 99 "imap_csim.y"
1545
#line 100 "imap_csim.y"
1546
1547
(yyval.val) = (gint) (yyvsp[(1) - (1)].value);
1551
#line 103 "imap_csim.y"
1552
#line 104 "imap_csim.y"
1553
1554
(yyval.val) = (gint) g_ascii_strtod ((yyvsp[(1) - (1)].id), NULL);
1555
g_free ((yyvsp[(1) - (1)].id));
1558
#line 109 "imap_csim.y"
1560
#line 111 "imap_csim.y"
1560
1562
g_strreplace(&_map_info->title, (yyvsp[(5) - (6)].id));
1563
g_free ((yyvsp[(5) - (6)].id));
1565
#line 124 "imap_csim.y"
1568
#line 127 "imap_csim.y"
1570
g_free ((yyvsp[(2) - (3)].id));
1571
#line 129 "imap_csim.y"
1575
#line 133 "imap_csim.y"
1573
1577
g_strreplace(&_map_info->author, (yyvsp[(2) - (3)].id));
1578
g_free ((yyvsp[(2) - (3)].id));
1579
#line 136 "imap_csim.y"
1583
#line 140 "imap_csim.y"
1581
1585
gchar *description;
1583
1587
description = g_strconcat(_map_info->description, (yyvsp[(2) - (3)].id), "\n",
1585
1589
g_strreplace(&_map_info->description, description);
1590
g_free ((yyvsp[(2) - (3)].id));
1590
#line 150 "imap_csim.y"
1595
#line 155 "imap_csim.y"
1592
1597
if (current_type != UNDEFINED)
1593
1598
add_shape(current_object);
1668
1674
polygon_remove_last_point(polygon);
1669
1675
polygon->points = points;
1678
g_free ((yyvsp[(3) - (3)].id));
1675
#line 252 "imap_csim.y"
1683
#line 260 "imap_csim.y"
1677
1685
if (current_type == UNDEFINED) {
1678
1686
g_strreplace(&_map_info->default_url, (yyvsp[(3) - (3)].id));
1680
1688
object_set_url(current_object, (yyvsp[(3) - (3)].id));
1690
g_free ((yyvsp[(3) - (3)].id));
1686
#line 262 "imap_csim.y"
1695
#line 271 "imap_csim.y"
1692
#line 268 "imap_csim.y"
1701
#line 277 "imap_csim.y"
1703
g_free ((yyvsp[(2) - (2)].id));
1698
#line 273 "imap_csim.y"
1708
#line 283 "imap_csim.y"
1700
1710
object_set_comment(current_object, (yyvsp[(3) - (3)].id));
1711
g_free ((yyvsp[(3) - (3)].id));
1705
#line 279 "imap_csim.y"
1716
#line 290 "imap_csim.y"
1707
1718
object_set_target(current_object, (yyvsp[(3) - (3)].id));
1719
g_free ((yyvsp[(3) - (3)].id));
1712
#line 285 "imap_csim.y"
1724
#line 297 "imap_csim.y"
1714
1726
object_set_mouse_over(current_object, (yyvsp[(3) - (3)].id));
1727
g_free ((yyvsp[(3) - (3)].id));
1719
#line 291 "imap_csim.y"
1732
#line 304 "imap_csim.y"
1721
1734
object_set_mouse_out(current_object, (yyvsp[(3) - (3)].id));
1735
g_free ((yyvsp[(3) - (3)].id));
1726
#line 297 "imap_csim.y"
1740
#line 311 "imap_csim.y"
1728
1742
object_set_focus(current_object, (yyvsp[(3) - (3)].id));
1743
g_free ((yyvsp[(3) - (3)].id));
1733
#line 303 "imap_csim.y"
1748
#line 318 "imap_csim.y"
1735
1750
object_set_blur(current_object, (yyvsp[(3) - (3)].id));
1751
g_free ((yyvsp[(3) - (3)].id));
1740
1756
/* Line 1267 of yacc.c. */
1741
#line 1742 "y.tab.c"
1757
#line 1758 "y.tab.c"
1742
1758
default: break;
1744
1760
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);