@ -569,14 +569,14 @@ static const unsigned short int yyrline[] =
308 , 309 , 312 , 315 , 315 , 320 , 320 , 325 , 341 , 361 ,
362 , 369 , 370 , 375 , 383 , 384 , 388 , 394 , 394 , 402 ,
405 , 405 , 409 , 412 , 415 , 418 , 419 , 420 , 418 , 426 ,
426 , 430 , 434 , 439 , 443 , 447 , 450 , 450 , 483 , 48 5 ,
48 7, 489 , 494 , 500 , 505 , 511 , 516 , 522 , 525 , 526 ,
5 31, 536 , 543 , 550 , 557 , 566 , 571 , 576 , 583 , 590 ,
59 7, 606 , 606 , 611 , 616 , 616 , 626 , 632 , 635 , 638 ,
6 41, 646 , 653 , 654 , 659 , 663 , 667 , 671 , 674 , 677 ,
68 2, 683 , 688 , 689 , 695 , 698 , 702 , 703 , 706 , 709 ,
71 4, 717 , 718 , 734 , 747 , 752 , 767 , 780 , 783 , 784 ,
7 87, 790
426 , 430 , 434 , 439 , 443 , 447 , 450 , 450 , 483 , 48 4 ,
48 5, 486 , 491 , 497 , 502 , 508 , 513 , 519 , 522 , 524 ,
5 29, 534 , 541 , 548 , 555 , 564 , 569 , 574 , 581 , 588 ,
59 5, 604 , 604 , 609 , 614 , 614 , 624 , 630 , 633 , 636 ,
6 39, 644 , 651 , 652 , 657 , 661 , 665 , 669 , 672 , 675 ,
68 0, 681 , 686 , 687 , 693 , 696 , 700 , 703 , 707 , 710 ,
71 5, 718 , 721 , 738 , 751 , 756 , 774 , 788 , 791 , 792 ,
7 95, 798
} ;
# endif
@ -2101,14 +2101,14 @@ yyreduce:
case 29 :
# line 248 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 30 :
# line 251 "ael.y"
{
pval * z = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 2 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
pval * z = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
z - > u1 . str = ( yyvsp [ 0 ] . str ) ;
( yyval . pval ) = ( yyvsp [ - 2 ] . pval ) ;
linku1 ( ( yyval . pval ) , z ) ; ; }
@ -2199,7 +2199,7 @@ yyreduce:
case 46 :
# line 285 "ael.y"
{
( yyval . pval ) = npval ( PV_EXTENSION , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 2 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_EXTENSION , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ; ; }
break ;
@ -2207,7 +2207,7 @@ yyreduce:
case 47 :
# line 289 "ael.y"
{
( yyval . pval ) = npval ( PV_EXTENSION , ( yylsp [ - 3 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 3 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_EXTENSION , & ( yylsp [ - 3 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ;
( yyval . pval ) - > u4 . regexten = 1 ; ; }
@ -2216,7 +2216,7 @@ yyreduce:
case 48 :
# line 294 "ael.y"
{
( yyval . pval ) = npval ( PV_EXTENSION , ( yylsp [ - 6 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 6 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_EXTENSION , & ( yylsp [ - 6 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ;
( yyval . pval ) - > u3 . hints = ( yyvsp [ - 4 ] . str ) ; ; }
@ -2225,7 +2225,7 @@ yyreduce:
case 49 :
# line 299 "ael.y"
{
( yyval . pval ) = npval ( PV_EXTENSION , ( yylsp [ - 7 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 7 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_EXTENSION , & ( yylsp [ - 7 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ;
( yyval . pval ) - > u4 . regexten = 1 ;
@ -2257,7 +2257,7 @@ yyreduce:
case 54 :
# line 315 "ael.y"
{
( yyval . pval ) = npval ( PV_IF , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 4 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_IF , & ( yylsp [ - 4 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
@ -2269,7 +2269,7 @@ yyreduce:
case 56 :
# line 320 "ael.y"
{
( yyval . pval ) = npval ( PV_RANDOM , ( yylsp [ - 4 ] ) .first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2 ( PV_RANDOM , & ( yylsp [ - 4 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
@ -2375,7 +2375,7 @@ yyreduce:
case 68 :
# line 394 "ael.y"
{
( yyval . pval ) = npval ( PV_SWITCH , ( yylsp [ - 5 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 5 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_SWITCH , & ( yylsp [ - 5 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ; ; }
break ;
@ -2494,7 +2494,7 @@ yyreduce:
case 85 :
# line 447 "ael.y"
{
( yyval . pval ) = npval ( PV_APPLICATION_CALL , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 1 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_APPLICATION_CALL , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
@ -2509,7 +2509,7 @@ yyreduce:
char * bufx ;
int tot = 0 ;
pval * pptr ;
( yyval . pval ) = npval ( PV_VARDEC , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 4 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_VARDEC , & ( yylsp [ - 4 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u2 . val = ( yyvsp [ - 1 ] . str ) ;
/* rebuild the original string-- this is not an app call, it's an unwrapped vardec, with a func call on the LHS */
/* string to big to fit in the buffer? */
@ -2542,24 +2542,21 @@ yyreduce:
case 88 :
# line 483 "ael.y"
{
( yyval . pval ) = npval ( PV_BREAK , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ; }
{ ( yyval . pval ) = npval2 ( PV_BREAK , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ; ; }
break ;
case 89 :
# line 485 "ael.y"
{
( yyval . pval ) = npval ( PV_RETURN , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ; }
# line 484 "ael.y"
{ ( yyval . pval ) = npval2 ( PV_RETURN , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ; ; }
break ;
case 90 :
# line 487 "ael.y"
{
( yyval . pval ) = npval ( PV_CONTINUE , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ; }
# line 485 "ael.y"
{ ( yyval . pval ) = npval2 ( PV_CONTINUE , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ; ; }
break ;
case 91 :
# line 48 9 "ael.y"
# line 48 6 "ael.y"
{
( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ;
@ -2568,7 +2565,7 @@ yyreduce:
break ;
case 92 :
# line 49 4 "ael.y"
# line 49 1 "ael.y"
{
( yyval . pval ) = ( yyvsp [ - 3 ] . pval ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ - 2 ] . pval ) ;
@ -2578,7 +2575,7 @@ yyreduce:
break ;
case 93 :
# line 500 "ael.y"
# line 497 "ael.y"
{
( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ;
@ -2587,7 +2584,7 @@ yyreduce:
break ;
case 94 :
# line 50 5 "ael.y"
# line 50 2 "ael.y"
{
( yyval . pval ) = ( yyvsp [ - 3 ] . pval ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ - 2 ] . pval ) ;
@ -2597,7 +2594,7 @@ yyreduce:
break ;
case 95 :
# line 5 11 "ael.y"
# line 5 08 "ael.y"
{
( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ 0 ] . pval ) ;
@ -2606,7 +2603,7 @@ yyreduce:
break ;
case 96 :
# line 51 6 "ael.y"
# line 51 3 "ael.y"
{
( yyval . pval ) = ( yyvsp [ - 3 ] . pval ) ;
( yyval . pval ) - > u2 . statements = ( yyvsp [ - 2 ] . pval ) ;
@ -2616,146 +2613,147 @@ yyreduce:
break ;
case 97 :
# line 5 22 "ael.y"
# line 5 19 "ael.y"
{ ( yyval . pval ) = 0 ; ; }
break ;
case 98 :
# line 525 "ael.y"
{ ( yyval . pval ) = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
# line 522 "ael.y"
{ ( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 99 :
# line 52 6 "ael.y"
# line 52 4 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 100 :
# line 5 31 "ael.y"
# line 5 29 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 101 :
# line 53 6 "ael.y"
# line 53 4 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ - 4 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ - 4 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 4 ] ) , & ( yylsp [ - 4 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 4 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 102 :
# line 54 3 "ael.y"
# line 54 1 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ - 4 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ - 4 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 4 ] ) , & ( yylsp [ - 4 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 4 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 103 :
# line 5 50 "ael.y"
# line 5 48 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ - 4 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ - 4 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 4 ] ) , & ( yylsp [ - 4 ] ) ) ;
( yyval . pval ) - > u1 . str = strdup ( " default " ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 104 :
# line 55 7 "ael.y"
# line 55 5 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ - 4 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ - 4 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 4 ] ) , & ( yylsp [ - 4 ] ) ) ;
( yyval . pval ) - > u1 . str = strdup ( " default " ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 105 :
# line 56 6 "ael.y"
# line 56 4 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) .first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2 ( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ; /* XXX not really @1 */
( yyval . pval ) - > next - > u1 . str = strdup ( " 1 " ) ; ; }
break ;
case 106 :
# line 5 71 "ael.y"
# line 5 69 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 107 :
# line 57 6 "ael.y"
# line 57 4 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ - 4 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ - 4 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 4 ] ) , & ( yylsp [ - 4 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 4 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ; ; }
break ;
case 108 :
# line 58 3 "ael.y"
# line 58 1 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = strdup ( " 1 " ) ; ; }
break ;
case 109 :
# line 5 90 "ael.y"
# line 5 88 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 4 ] ) . first_line , ( yylsp [ - 4 ] ) . last_line , ( yylsp [ - 4 ] ) . first_column , ( yylsp [ - 4 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 4 ] ) , & ( yylsp [ - 4 ] ) ) ;
( yyval . pval ) - > u1 . str = strdup ( " default " ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 4 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ; ; }
break ;
case 110 :
# line 59 7 "ael.y"
# line 59 5 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 2 ] ) , & ( yylsp [ - 2 ] ) ) ;
( yyval . pval ) - > u1 . str = strdup ( " default " ) ;
( yyval . pval ) - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
( yyval . pval ) - > next - > next = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) - > next - > next = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > next - > next - > u1 . str = strdup ( " 1 " ) ; ; }
break ;
case 111 :
# line 60 6 "ael.y"
# line 60 4 "ael.y"
{ reset_argcount ( parseio - > scanner ) ; ; }
break ;
case 112 :
# line 60 6 "ael.y"
# line 60 4 "ael.y"
{
/* XXX original code had @2 but i think we need @5 */
( yyval . pval ) = npval2 ( PV_MACRO_CALL , & ( yylsp [ - 4 ] ) , & ( yylsp [ 0 ] ) ) ;
@ -2764,31 +2762,31 @@ yyreduce:
break ;
case 113 :
# line 6 11 "ael.y"
# line 6 09 "ael.y"
{
( yyval . pval ) = npval2 ( PV_MACRO_CALL , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ; ; }
break ;
case 114 :
# line 61 6 "ael.y"
# line 61 4 "ael.y"
{ reset_argcount ( parseio - > scanner ) ; ; }
break ;
case 115 :
# line 61 6 "ael.y"
# line 61 4 "ael.y"
{
if ( strcasecmp ( ( yyvsp [ - 2 ] . str ) , " goto " ) = = 0 ) {
( yyval . pval ) = npval ( PV_GOTO , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 2 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_GOTO , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
free ( ( yyvsp [ - 2 ] . str ) ) ; /* won't be using this */
ast_log ( LOG_WARNING , " ==== File: %s, Line %d, Cols: %d-%d: Suggestion: Use the goto statement instead of the Goto() application call in AEL. \n " , my_file , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ - 2 ] ) . last_column ) ;
} else
( yyval . pval ) = npval ( PV_APPLICATION_CALL , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 2 ] ) .first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_APPLICATION_CALL , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ; ; }
break ;
case 116 :
# line 62 6 "ael.y"
# line 62 4 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ - 2 ] . pval ) ;
if ( ( yyval . pval ) - > type = = PV_GOTO )
( yyval . pval ) - > u1 . list = ( yyvsp [ - 1 ] . pval ) ;
@ -2798,56 +2796,56 @@ yyreduce:
break ;
case 117 :
# line 63 2 "ael.y"
# line 63 0 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; ( yyval . pval ) - > endline = ( yylsp [ 0 ] ) . last_line ; ( yyval . pval ) - > endcol = ( yylsp [ 0 ] ) . last_column ; ; }
break ;
case 118 :
# line 63 5 "ael.y"
# line 63 3 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
( yyval . pval ) = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 119 :
# line 63 8 "ael.y"
# line 63 6 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , 0 /*@1.first_line*/ , 0 /*@1.last_line*/ , 0 /* @1.first_column*/ , 0 /*@1.last_column*/ ) ;
( yyval . pval ) - > u1 . str = strdup ( " " ) ; ; }
break ;
case 120 :
# line 6 41 "ael.y"
# line 6 39 "ael.y"
{
pval * z = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
pval * z = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) = ( yyvsp [ - 2 ] . pval ) ;
linku1 ( ( yyvsp [ - 2 ] . pval ) , z ) ;
z - > u1 . str = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 121 :
# line 64 6 "ael.y"
# line 64 4 "ael.y"
{
pval * z = npval ( PV_WORD , ( yylsp [ 0 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ 0 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ;
pval * z = npval 2( PV_WORD , & ( yylsp [ 0 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ;
linku1 ( ( yyvsp [ - 1 ] . pval ) , z ) ;
z - > u1 . str = strdup ( " " ) ; ; }
break ;
case 122 :
# line 65 3 "ael.y"
# line 65 1 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ 0 ] . pval ) ; ; }
break ;
case 123 :
# line 65 4 "ael.y"
# line 65 2 "ael.y"
{ if ( ( yyvsp [ - 1 ] . pval ) & & ( yyvsp [ 0 ] . pval ) ) { ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; linku1 ( ( yyval . pval ) , ( yyvsp [ 0 ] . pval ) ) ; }
else if ( ( yyvsp [ - 1 ] . pval ) ) { ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; }
else if ( ( yyvsp [ 0 ] . pval ) ) { ( yyval . pval ) = ( yyvsp [ 0 ] . pval ) ; } ; }
break ;
case 124 :
# line 65 9 "ael.y"
# line 65 7 "ael.y"
{
( yyval . pval ) = npval2 ( PV_CASE , & ( yylsp [ - 3 ] ) , & ( yylsp [ - 1 ] ) ) ; /* XXX 3 or 4 ? */
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
@ -2855,7 +2853,7 @@ yyreduce:
break ;
case 125 :
# line 66 3 "ael.y"
# line 66 1 "ael.y"
{
( yyval . pval ) = npval2 ( PV_DEFAULT , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = NULL ;
@ -2863,7 +2861,7 @@ yyreduce:
break ;
case 126 :
# line 66 7 "ael.y"
# line 66 5 "ael.y"
{
( yyval . pval ) = npval2 ( PV_PATTERN , & ( yylsp [ - 3 ] ) , & ( yylsp [ 0 ] ) ) ; /* XXX@3 or @4 ? */
( yyval . pval ) - > u1 . str = ( yyvsp [ - 2 ] . str ) ;
@ -2871,45 +2869,45 @@ yyreduce:
break ;
case 127 :
# line 6 71 "ael.y"
# line 6 69 "ael.y"
{
( yyval . pval ) = npval2 ( PV_CASE , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
case 128 :
# line 67 4 "ael.y"
# line 67 2 "ael.y"
{
( yyval . pval ) = npval2 ( PV_DEFAULT , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = NULL ; ; }
break ;
case 129 :
# line 67 7 "ael.y"
# line 67 5 "ael.y"
{
( yyval . pval ) = npval2 ( PV_PATTERN , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
case 130 :
# line 68 2 "ael.y"
# line 68 0 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ 0 ] . pval ) ; ; }
break ;
case 131 :
# line 68 3 "ael.y"
# line 68 1 "ael.y"
{ if ( ( yyvsp [ - 1 ] . pval ) & & ( yyvsp [ 0 ] . pval ) ) { ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; linku1 ( ( yyval . pval ) , ( yyvsp [ 0 ] . pval ) ) ; }
else if ( ( yyvsp [ - 1 ] . pval ) ) { ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; }
else if ( ( yyvsp [ 0 ] . pval ) ) { ( yyval . pval ) = ( yyvsp [ 0 ] . pval ) ; } ; }
break ;
case 132 :
# line 68 8 "ael.y"
# line 68 6 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ 0 ] . pval ) ; ; }
break ;
case 133 :
# line 68 9 "ael.y"
# line 68 7 "ael.y"
{
( yyval . pval ) = npval2 ( PV_CATCH , & ( yylsp [ - 4 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 3 ] . str ) ;
@ -2917,37 +2915,40 @@ yyreduce:
break ;
case 134 :
# line 69 5 "ael.y"
# line 69 3 "ael.y"
{
( yyval . pval ) = npval2 ( PV_SWITCHES , & ( yylsp [ - 3 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . list = ( yyvsp [ - 1 ] . pval ) ; ; }
break ;
case 135 :
# line 69 8 "ael.y"
# line 69 6 "ael.y"
{
( yyval . pval ) = npval2 ( PV_SWITCHES , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ; ; }
break ;
case 136 :
# line 702 "ael.y"
{ ( yyval . pval ) = npval ( PV_ESWITCHES , ( yylsp [ - 3 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 3 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ( yyval . pval ) - > u1 . list = ( yyvsp [ - 1 ] . pval ) ; ; }
# line 700 "ael.y"
{
( yyval . pval ) = npval2 ( PV_ESWITCHES , & ( yylsp [ - 3 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . list = ( yyvsp [ - 1 ] . pval ) ; ; }
break ;
case 137 :
# line 703 "ael.y"
{ ( yyval . pval ) = npval ( PV_ESWITCHES , ( yylsp [ - 2 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 2 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ; }
{ /* empty switch list OK */
( yyval . pval ) = npval2 ( PV_ESWITCHES , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ; ; }
break ;
case 138 :
# line 70 6 "ael.y"
# line 70 7 "ael.y"
{
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
case 139 :
# line 7 09 "ael.y"
# line 7 1 0 "ael.y"
{
pval * z = npval2 ( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ;
z - > u1 . str = ( yyvsp [ - 1 ] . str ) ;
@ -2956,54 +2957,56 @@ yyreduce:
break ;
case 140 :
# line 71 4 "ael.y"
# line 71 5 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; ; }
break ;
case 141 :
# line 717 "ael.y"
{ ( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ 0 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ 0 ] ) . last_column ) ; ( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
# line 718 "ael.y"
{
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 1 ] . str ) ; ; }
break ;
case 142 :
# line 7 18 "ael.y"
# line 7 22 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 13 ] ) . first_line , ( yylsp [ - 12 ] ) . last_line , ( yylsp [ - 13 ] ) . first_column , ( yylsp [ - 12 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 13 ] ) , & ( yylsp [ - 12 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 13 ] . str ) ;
( yyval . pval ) - > u2 . arglist = npval ( PV_WORD , ( yylsp [ - 11 ] ) . first_line , ( yylsp [ - 7 ] ) . last_line , ( yylsp [ - 11 ] ) .first_column , ( yylsp [ - 7 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist = npval 2( PV_WORD , & ( yylsp [ - 11 ] ) , & ( yylsp [ - 7 ] ) ) ;
asprintf ( & ( ( yyval . pval ) - > u2 . arglist - > u1 . str ) , " %s:%s:%s " , ( yyvsp [ - 11 ] . str ) , ( yyvsp [ - 9 ] . str ) , ( yyvsp [ - 7 ] . str ) ) ;
free ( ( yyvsp [ - 11 ] . str ) ) ;
free ( ( yyvsp [ - 9 ] . str ) ) ;
free ( ( yyvsp [ - 7 ] . str ) ) ;
( yyval . pval ) - > u2 . arglist - > next = npval ( PV_WORD , ( yylsp [ - 5 ] ) . first_line , ( yylsp [ - 5 ] ) . last_line , ( yylsp [ - 5 ] ) . first_column , ( yylsp [ - 5 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist - > next = npval 2( PV_WORD , & ( yylsp [ - 5 ] ) , & ( yylsp [ - 5 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > next - > u1 . str = ( yyvsp [ - 5 ] . str ) ;
( yyval . pval ) - > u2 . arglist - > next - > next = npval ( PV_WORD , ( yylsp [ - 3 ] ) . first_line , ( yylsp [ - 3 ] ) . last_line , ( yylsp [ - 3 ] ) . first_column , ( yylsp [ - 3 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 3 ] ) , & ( yylsp [ - 3 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > u1 . str = ( yyvsp [ - 3 ] . str ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > next = npval ( PV_WORD , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ - 1 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ - 1 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ - 1 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > next - > u1 . str = ( yyvsp [ - 1 ] . str ) ;
prev_word = 0 ;
; }
break ;
case 143 :
# line 73 4 "ael.y"
# line 73 8 "ael.y"
{
( yyval . pval ) = npval ( PV_WORD , ( yylsp [ - 9 ] ) . first_line , ( yylsp [ - 8 ] ) . last_line , ( yylsp [ - 9 ] ) . first_column , ( yylsp [ - 8 ] ) . last_column ) ;
( yyval . pval ) = npval2 ( PV_WORD , & ( yylsp [ - 9 ] ) , & ( yylsp [ - 8 ] ) ) ;
( yyval . pval ) - > u1 . str = ( yyvsp [ - 9 ] . str ) ;
( yyval . pval ) - > u2 . arglist = npval ( PV_WORD , ( yylsp [ - 7 ] ) . first_line , ( yylsp [ - 7 ] ) . last_line , ( yylsp [ - 7 ] ) . first_column , ( yylsp [ - 7 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist = npval 2( PV_WORD , & ( yylsp [ - 7 ] ) , & ( yylsp [ - 7 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > u1 . str = ( yyvsp [ - 7 ] . str ) ;
( yyval . pval ) - > u2 . arglist - > next = npval ( PV_WORD , ( yylsp [ - 5 ] ) . first_line , ( yylsp [ - 5 ] ) . last_line , ( yylsp [ - 5 ] ) . first_column , ( yylsp [ - 5 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist - > next = npval 2( PV_WORD , & ( yylsp [ - 5 ] ) , & ( yylsp [ - 5 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > next - > u1 . str = ( yyvsp [ - 5 ] . str ) ;
( yyval . pval ) - > u2 . arglist - > next - > next = npval ( PV_WORD , ( yylsp [ - 3 ] ) . first_line , ( yylsp [ - 3 ] ) . last_line , ( yylsp [ - 3 ] ) . first_column , ( yylsp [ - 3 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 3 ] ) , & ( yylsp [ - 3 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > u1 . str = ( yyvsp [ - 3 ] . str ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > next = npval ( PV_WORD , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ - 1 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ - 1 ] ) . last_column ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ - 1 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > next - > next - > next - > u1 . str = ( yyvsp [ - 1 ] . str ) ;
prev_word = 0 ;
; }
break ;
case 144 :
# line 7 47 "ael.y"
# line 7 51 "ael.y"
{
pval * z = npval2 ( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ 0 ] ) ) ; /* XXX don't we need @1-@4 ?*/
( yyval . pval ) = ( yyvsp [ - 2 ] . pval ) ;
@ -3012,64 +3015,68 @@ yyreduce:
break ;
case 145 :
# line 752 "ael.y"
{ pval * z = npval ( PV_WORD , ( yylsp [ - 13 ] ) . first_line , ( yylsp [ - 12 ] ) . last_line , ( yylsp [ - 13 ] ) . first_column , ( yylsp [ - 12 ] ) . last_column ) ;
( yyval . pval ) = ( yyvsp [ - 14 ] . pval ) ; z - > u1 . str = ( yyvsp [ - 13 ] . str ) ; linku1 ( ( yyval . pval ) , z ) ;
z - > u2 . arglist = npval ( PV_WORD , ( yylsp [ - 11 ] ) . first_line , ( yylsp [ - 11 ] ) . last_line , ( yylsp [ - 11 ] ) . first_column , ( yylsp [ - 11 ] ) . last_column ) ;
# line 757 "ael.y"
{
pval * z = npval2 ( PV_WORD , & ( yylsp [ - 13 ] ) , & ( yylsp [ - 12 ] ) ) ;
( yyval . pval ) = ( yyvsp [ - 14 ] . pval ) ; z - > u1 . str = ( yyvsp [ - 13 ] . str ) ;
linku1 ( ( yyval . pval ) , z ) ;
z - > u2 . arglist = npval2 ( PV_WORD , & ( yylsp [ - 11 ] ) , & ( yylsp [ - 11 ] ) ) ;
asprintf ( & ( ( yyval . pval ) - > u2 . arglist - > u1 . str ) , " %s:%s:%s " , ( yyvsp [ - 11 ] . str ) , ( yyvsp [ - 9 ] . str ) , ( yyvsp [ - 7 ] . str ) ) ;
free ( ( yyvsp [ - 11 ] . str ) ) ;
free ( ( yyvsp [ - 9 ] . str ) ) ;
free ( ( yyvsp [ - 7 ] . str ) ) ;
z - > u2 . arglist - > next = npval ( PV_WORD , ( yylsp [ - 5 ] ) . first_line , ( yylsp [ - 5 ] ) . last_line , ( yylsp [ - 5 ] ) . first_column , ( yylsp [ - 5 ] ) . last_column ) ;
z - > u2 . arglist - > next = npval 2( PV_WORD , & ( yylsp [ - 5 ] ) , & ( yylsp [ - 5 ] ) ) ;
z - > u2 . arglist - > next - > u1 . str = ( yyvsp [ - 5 ] . str ) ;
z - > u2 . arglist - > next - > next = npval ( PV_WORD , ( yylsp [ - 3 ] ) . first_line , ( yylsp [ - 3 ] ) . last_line , ( yylsp [ - 3 ] ) . first_column , ( yylsp [ - 3 ] ) . last_column ) ;
z - > u2 . arglist - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 3 ] ) , & ( yylsp [ - 3 ] ) ) ;
z - > u2 . arglist - > next - > next - > u1 . str = ( yyvsp [ - 3 ] . str ) ;
z - > u2 . arglist - > next - > next - > next = npval ( PV_WORD , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ - 1 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ - 1 ] ) . last_column ) ;
z - > u2 . arglist - > next - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ - 1 ] ) ) ;
z - > u2 . arglist - > next - > next - > next - > u1 . str = ( yyvsp [ - 1 ] . str ) ;
prev_word = 0 ;
; }
break ;
case 146 :
# line 768 "ael.y"
{ pval * z = npval ( PV_WORD , ( yylsp [ - 9 ] ) . first_line , ( yylsp [ - 9 ] ) . last_line , ( yylsp [ - 9 ] ) . first_column , ( yylsp [ - 8 ] ) . last_column ) ;
( yyval . pval ) = ( yyvsp [ - 10 ] . pval ) ; z - > u1 . str = ( yyvsp [ - 9 ] . str ) ; linku1 ( ( yyval . pval ) , z ) ;
z - > u2 . arglist = npval ( PV_WORD , ( yylsp [ - 7 ] ) . first_line , ( yylsp [ - 7 ] ) . last_line , ( yylsp [ - 7 ] ) . first_column , ( yylsp [ - 7 ] ) . last_column ) ;
# line 774 "ael.y"
{
pval * z = npval2 ( PV_WORD , & ( yylsp [ - 9 ] ) , & ( yylsp [ - 8 ] ) ) ;
( yyval . pval ) = ( yyvsp [ - 10 ] . pval ) ;
z - > u1 . str = ( yyvsp [ - 9 ] . str ) ; linku1 ( ( yyval . pval ) , z ) ;
z - > u2 . arglist = npval2 ( PV_WORD , & ( yylsp [ - 7 ] ) , & ( yylsp [ - 7 ] ) ) ;
( yyval . pval ) - > u2 . arglist - > u1 . str = ( yyvsp [ - 7 ] . str ) ;
z - > u2 . arglist - > next = npval ( PV_WORD , ( yylsp [ - 5 ] ) . first_line , ( yylsp [ - 5 ] ) . last_line , ( yylsp [ - 5 ] ) . first_column , ( yylsp [ - 5 ] ) . last_column ) ;
z - > u2 . arglist - > next = npval 2( PV_WORD , & ( yylsp [ - 5 ] ) , & ( yylsp [ - 5 ] ) ) ;
z - > u2 . arglist - > next - > u1 . str = ( yyvsp [ - 5 ] . str ) ;
z - > u2 . arglist - > next - > next = npval ( PV_WORD , ( yylsp [ - 3 ] ) . first_line , ( yylsp [ - 3 ] ) . last_line , ( yylsp [ - 3 ] ) . first_column , ( yylsp [ - 3 ] ) . last_column ) ;
z - > u2 . arglist - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 3 ] ) , & ( yylsp [ - 3 ] ) ) ;
z - > u2 . arglist - > next - > next - > u1 . str = ( yyvsp [ - 3 ] . str ) ;
z - > u2 . arglist - > next - > next - > next = npval ( PV_WORD , ( yylsp [ - 1 ] ) . first_line , ( yylsp [ - 1 ] ) . last_line , ( yylsp [ - 1 ] ) . first_column , ( yylsp [ - 1 ] ) . last_column ) ;
z - > u2 . arglist - > next - > next - > next = npval 2( PV_WORD , & ( yylsp [ - 1 ] ) , & ( yylsp [ - 1 ] ) ) ;
z - > u2 . arglist - > next - > next - > next - > u1 . str = ( yyvsp [ - 1 ] . str ) ;
prev_word = 0 ;
; }
break ;
case 147 :
# line 78 0 "ael.y"
# line 78 8 "ael.y"
{ ( yyval . pval ) = ( yyvsp [ - 1 ] . pval ) ; ; }
break ;
case 148 :
# line 7 83 "ael.y"
# line 7 91 "ael.y"
{ ( yyval . str ) = ( yyvsp [ 0 ] . str ) ; ; }
break ;
case 149 :
# line 7 84 "ael.y"
# line 7 92 "ael.y"
{ ( yyval . str ) = strdup ( " default " ) ; ; }
break ;
case 150 :
# line 7 87 "ael.y"
# line 7 95 "ael.y"
{
( yyval . pval ) = npval2 ( PV_INCLUDES , & ( yylsp [ - 3 ] ) , & ( yylsp [ 0 ] ) ) ;
( yyval . pval ) - > u1 . list = ( yyvsp [ - 1 ] . pval ) ; ; }
break ;
case 151 :
# line 79 0 "ael.y"
# line 79 8 "ael.y"
{
( yyval . pval ) = npval2 ( PV_INCLUDES , & ( yylsp [ - 2 ] ) , & ( yylsp [ 0 ] ) ) ; ; }
break ;
@ -3079,7 +3086,7 @@ yyreduce:
}
/* Line 1126 of yacc.c. */
# line 30 83 "ael.tab.c"
# line 30 90 "ael.tab.c"
yyvsp - = yylen ;
yyssp - = yylen ;
@ -3354,7 +3361,7 @@ yyreturn:
}
# line 795 "ael.y"
# line 803 "ael.y"
static char * token_equivs1 [ ] =