Changeset 317 for ruby/trunk/lib/adl_parser/lib/parser.y
- Timestamp:
- Oct 14, 2009, 1:06:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/lib/adl_parser/lib/parser.y
r307 r317 684 684 685 685 simple_list_value: string_list_value 686 { 687 @@logger.debug("string_list_value: #{val[0]} at #{@filename}:#{@lineno}") 688 result = val[0] 689 } 686 690 | integer_list_value 691 { 692 result = val[0] 693 } 687 694 | real_list_value 695 { 696 result = val[0] 697 } 688 698 | boolean_list_value 699 { 700 result = val[0] 701 } 689 702 | character_list_value 703 { 704 result = val[0] 705 } 690 706 | date_list_value 707 { 708 result = val[0] 709 } 691 710 | time_list_value 711 { 712 result = val[0] 713 } 692 714 | date_time_list_value 715 { 716 result = val[0] 717 } 693 718 | duration_list_value 719 { 720 result = val[0] 721 } 694 722 695 723 simple_interval_value: integer_interval_value … … 718 746 719 747 string_list_value: V_STRING Comma_code V_STRING 748 { 749 result = [val[0],val[2]] 750 } 720 751 | string_list_value Comma_code V_STRING 752 { 753 result = val[0] << val[2] 754 } 721 755 | V_STRING Comma_code SYM_LIST_CONTINUE 756 { 757 result = val[0] 758 } 722 759 723 760 integer_value: V_INTEGER
Note:
See TracChangeset
for help on using the changeset viewer.