@@ -444,55 +444,55 @@ public void declaration_type_spec(Token udtKeyword, int type) {
444444 public void attr_spec (Token attrKeyword , int attr ) {
445445 String nestIn = "" ;
446446 switch (attr ) {
447- case 801 :
447+ case IActionEnums . AttrSpec_access :
448448 // private
449449 break ;
450- case 802 :
450+ case IActionEnums . AttrSpec_language_binding :
451451 // bind
452452 break ;
453- case 805 :
453+ case IActionEnums . AttrSpec_ALLOCATABLE :
454454 nestIn = "allocatable" ;
455455 break ;
456- case 806 :
456+ case IActionEnums . AttrSpec_ASYNCHRONOUS :
457457 nestIn = "asynchronous" ;
458458 break ;
459- case 807 :
459+ case IActionEnums . AttrSpec_CODIMENSION :
460460 nestIn = "codimension" ;
461461 break ;
462- case 809 :
462+ case IActionEnums . AttrSpec_DIMENSION :
463463 // dimension
464464 break ;
465- case 810 :
465+ case IActionEnums . AttrSpec_EXTERNAL :
466466 nestIn = "external" ;
467467 break ;
468- case 811 :
468+ case IActionEnums . AttrSpec_INTENT :
469469 // intent
470470 break ;
471- case 812 :
471+ case IActionEnums . AttrSpec_INTRINSIC :
472472 nestIn = "intrinsic" ;
473473 break ;
474- case 814 :
474+ case IActionEnums . AttrSpec_OPTIONAL :
475475 nestIn = "optional" ;
476476 break ;
477- case 815 :
477+ case IActionEnums . AttrSpec_PARAMETER :
478478 nestIn = "parameter" ;
479479 break ;
480- case 816 :
480+ case IActionEnums . AttrSpec_POINTER :
481481 nestIn = "pointer" ;
482482 break ;
483- case 817 :
483+ case IActionEnums . AttrSpec_PROTECTED :
484484 nestIn = "protected" ;
485485 break ;
486- case 818 :
486+ case IActionEnums . AttrSpec_SAVE :
487487 nestIn = "save" ;
488488 break ;
489- case 819 :
489+ case IActionEnums . AttrSpec_TARGET :
490490 nestIn = "target" ;
491491 break ;
492- case 820 :
492+ case IActionEnums . AttrSpec_VALUE :
493493 nestIn = "value" ;
494494 break ;
495- case 821 :
495+ case IActionEnums . AttrSpec_VOLATILE :
496496 nestIn = "volatile" ;
497497 break ;
498498 default :
@@ -563,15 +563,15 @@ public void array_spec_element(int type) {
563563 Element value = null ;
564564 Element value2 = null ;
565565 switch (type ) {
566- case 702 :
566+ case IActionEnums . ArraySpecElement_expr_colon_expr :
567567 value2 = contextNode (-2 );
568- case 700 :
569- case 701 :
570- case 703 :
568+ case IActionEnums . ArraySpecElement_expr :
569+ case IActionEnums . ArraySpecElement_expr_colon :
570+ case IActionEnums . ArraySpecElement_expr_colon_asterisk :
571571 value = contextNode (-1 );
572572 break ;
573- case 704 :
574- case 705 :
573+ case IActionEnums . ArraySpecElement_asterisk :
574+ case IActionEnums . ArraySpecElement_colon :
575575 break ;
576576 default :
577577 throw new IllegalArgumentException (Integer .toString (type ));
@@ -582,15 +582,15 @@ public void array_spec_element(int type) {
582582 contextOpen ("dimension" );
583583
584584 switch (type ) {
585- case 700 :
585+ case IActionEnums . ArraySpecElement_expr :
586586 setAttribute ("type" , "simple" ); // (a)
587587 moveHere (value );
588588 break ;
589- case 701 :
589+ case IActionEnums . ArraySpecElement_expr_colon :
590590 setAttribute ("type" , "upper-bound-assumed-shape" ); // (a:)
591591 moveHere (value );
592592 break ;
593- case 702 :
593+ case IActionEnums . ArraySpecElement_expr_colon_expr :
594594 setAttribute ("type" , "range" ); // (a:b)
595595 contextOpen ("range" );
596596 contextOpen ("lower-bound" );
@@ -601,14 +601,14 @@ public void array_spec_element(int type) {
601601 contextClose ();
602602 contextClose ();
603603 break ;
604- case 703 :
604+ case IActionEnums . ArraySpecElement_expr_colon_asterisk :
605605 setAttribute ("type" , "upper-bound-assumed-size" ); // (a:*)
606606 moveHere (value );
607607 break ;
608- case 704 :
608+ case IActionEnums . ArraySpecElement_asterisk :
609609 setAttribute ("type" , "assumed-size" ); // (*)
610610 break ;
611- case 705 :
611+ case IActionEnums . ArraySpecElement_colon :
612612 setAttribute ("type" , "assumed-shape" ); // (:)
613613 break ;
614614 default :
@@ -621,13 +621,13 @@ public void array_spec_element(int type) {
621621 public void intent_spec (Token intentKeyword1 , Token intentKeyword2 , int intent ) {
622622 contextOpen ("intent" );
623623 switch (intent ) {
624- case 600 :
624+ case IActionEnums . IntentSpec_IN :
625625 setAttribute ("type" , "in" );
626626 break ;
627- case 601 :
627+ case IActionEnums . IntentSpec_OUT :
628628 setAttribute ("type" , "out" );
629629 break ;
630- case 602 :
630+ case IActionEnums . IntentSpec_INOUT :
631631 setAttribute ("type" , "inout" );
632632 break ;
633633 default :
@@ -1829,13 +1829,13 @@ public void loop_control(Token whileKeyword, int doConstructType, boolean hasOpt
18291829 contextRename ("statement" , "loop" );
18301830 String loopType = "" ;
18311831 switch (doConstructType ) {
1832- case 1700 :
1832+ case IActionEnums . DoConstruct_concurrent :
18331833 loopType = "do-concurrent" ;
18341834 break ;
1835- case 1701 :
1835+ case IActionEnums . DoConstruct_variable :
18361836 loopType = "do" ;
18371837 break ;
1838- case 1702 :
1838+ case IActionEnums . DoConstruct_while :
18391839 loopType = "do-while" ;
18401840 break ;
18411841 default :
0 commit comments