equal
deleted
inserted
replaced
52 } |
52 } |
53 |
53 |
54 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
54 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
55 { |
55 { |
56 |
56 |
|
57 function_name = (symbol_c*)(new pragma_c("__move_")); |
57 |
58 |
58 if (IN_type_symbol == NULL) |
59 if (IN_type_symbol == NULL) |
59 IN_type_symbol = last_type_symbol; |
60 IN_type_symbol = last_type_symbol; |
60 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
61 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
61 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
62 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
62 function_type_prefix = return_type_symbol; |
63 function_type_prefix = return_type_symbol; |
|
64 function_type_suffix = IN_type_symbol; |
63 break; |
65 break; |
64 |
66 |
65 } |
67 } |
66 |
68 |
67 |
69 |
93 } |
95 } |
94 |
96 |
95 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
97 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
96 { |
98 { |
97 |
99 |
|
100 function_name = (symbol_c*)(new pragma_c("__move_")); |
98 |
101 |
99 if (IN_type_symbol == NULL) |
102 if (IN_type_symbol == NULL) |
100 IN_type_symbol = last_type_symbol; |
103 IN_type_symbol = last_type_symbol; |
101 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
104 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
102 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
105 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
103 function_type_prefix = return_type_symbol; |
106 function_type_prefix = return_type_symbol; |
|
107 function_type_suffix = IN_type_symbol; |
104 break; |
108 break; |
105 |
109 |
106 } |
110 } |
107 |
111 |
108 |
112 |
134 } |
138 } |
135 |
139 |
136 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
140 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
137 { |
141 { |
138 |
142 |
|
143 function_name = (symbol_c*)(new pragma_c("__move_")); |
139 |
144 |
140 if (IN_type_symbol == NULL) |
145 if (IN_type_symbol == NULL) |
141 IN_type_symbol = last_type_symbol; |
146 IN_type_symbol = last_type_symbol; |
142 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
147 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
143 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
148 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
144 function_type_prefix = return_type_symbol; |
149 function_type_prefix = return_type_symbol; |
|
150 function_type_suffix = IN_type_symbol; |
145 break; |
151 break; |
146 |
152 |
147 } |
153 } |
148 |
154 |
149 |
155 |
217 } |
223 } |
218 |
224 |
219 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
225 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
220 { |
226 { |
221 |
227 |
|
228 function_name = (symbol_c*)(new pragma_c("__move_")); |
222 |
229 |
223 if (IN_type_symbol == NULL) |
230 if (IN_type_symbol == NULL) |
224 IN_type_symbol = last_type_symbol; |
231 IN_type_symbol = last_type_symbol; |
225 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
232 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
226 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
233 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
227 function_type_prefix = return_type_symbol; |
234 function_type_prefix = return_type_symbol; |
|
235 function_type_suffix = IN_type_symbol; |
228 break; |
236 break; |
229 |
237 |
230 } |
238 } |
231 |
239 |
232 |
240 |
342 } |
350 } |
343 |
351 |
344 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
352 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
345 { |
353 { |
346 |
354 |
|
355 function_name = (symbol_c*)(new pragma_c("__move_")); |
347 |
356 |
348 if (IN_type_symbol == NULL) |
357 if (IN_type_symbol == NULL) |
349 IN_type_symbol = last_type_symbol; |
358 IN_type_symbol = last_type_symbol; |
350 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
359 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
351 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
360 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
352 function_type_prefix = return_type_symbol; |
361 function_type_prefix = return_type_symbol; |
|
362 function_type_suffix = IN_type_symbol; |
353 break; |
363 break; |
354 |
364 |
355 } |
365 } |
356 |
366 |
357 |
367 |
383 } |
393 } |
384 |
394 |
385 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
395 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
386 { |
396 { |
387 |
397 |
|
398 function_name = (symbol_c*)(new pragma_c("__move_")); |
388 |
399 |
389 if (IN_type_symbol == NULL) |
400 if (IN_type_symbol == NULL) |
390 IN_type_symbol = last_type_symbol; |
401 IN_type_symbol = last_type_symbol; |
391 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
402 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
392 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
403 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
393 function_type_prefix = return_type_symbol; |
404 function_type_prefix = return_type_symbol; |
|
405 function_type_suffix = IN_type_symbol; |
394 break; |
406 break; |
395 |
407 |
396 } |
408 } |
397 |
409 |
398 |
410 |
466 } |
478 } |
467 |
479 |
468 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
480 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
469 { |
481 { |
470 |
482 |
|
483 function_name = (symbol_c*)(new pragma_c("__move_")); |
471 |
484 |
472 if (IN_type_symbol == NULL) |
485 if (IN_type_symbol == NULL) |
473 IN_type_symbol = last_type_symbol; |
486 IN_type_symbol = last_type_symbol; |
474 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
487 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
475 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
488 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
476 function_type_prefix = return_type_symbol; |
489 function_type_prefix = return_type_symbol; |
|
490 function_type_suffix = IN_type_symbol; |
477 break; |
491 break; |
478 |
492 |
479 } |
493 } |
480 |
494 |
481 |
495 |
507 } |
521 } |
508 |
522 |
509 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
523 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
510 { |
524 { |
511 |
525 |
|
526 function_name = (symbol_c*)(new pragma_c("__move_")); |
512 |
527 |
513 if (IN_type_symbol == NULL) |
528 if (IN_type_symbol == NULL) |
514 IN_type_symbol = last_type_symbol; |
529 IN_type_symbol = last_type_symbol; |
515 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
530 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
516 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
531 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
517 function_type_prefix = return_type_symbol; |
532 function_type_prefix = return_type_symbol; |
|
533 function_type_suffix = IN_type_symbol; |
518 break; |
534 break; |
519 |
535 |
520 } |
536 } |
521 |
537 |
522 |
538 |
548 } |
564 } |
549 |
565 |
550 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
566 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
551 { |
567 { |
552 |
568 |
|
569 function_name = (symbol_c*)(new pragma_c("__move_")); |
553 |
570 |
554 if (IN_type_symbol == NULL) |
571 if (IN_type_symbol == NULL) |
555 IN_type_symbol = last_type_symbol; |
572 IN_type_symbol = last_type_symbol; |
556 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
573 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
557 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
574 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
558 function_type_prefix = return_type_symbol; |
575 function_type_prefix = return_type_symbol; |
|
576 function_type_suffix = IN_type_symbol; |
559 break; |
577 break; |
560 |
578 |
561 } |
579 } |
562 |
580 |
563 |
581 |
589 } |
607 } |
590 |
608 |
591 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
609 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
592 { |
610 { |
593 |
611 |
|
612 function_name = (symbol_c*)(new pragma_c("__move_")); |
594 |
613 |
595 if (IN_type_symbol == NULL) |
614 if (IN_type_symbol == NULL) |
596 IN_type_symbol = last_type_symbol; |
615 IN_type_symbol = last_type_symbol; |
597 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
616 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
598 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
617 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
599 function_type_prefix = return_type_symbol; |
618 function_type_prefix = return_type_symbol; |
|
619 function_type_suffix = IN_type_symbol; |
600 break; |
620 break; |
601 |
621 |
602 } |
622 } |
603 |
623 |
604 |
624 |
630 } |
650 } |
631 |
651 |
632 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
652 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
633 { |
653 { |
634 |
654 |
|
655 function_name = (symbol_c*)(new pragma_c("__move_")); |
635 |
656 |
636 if (IN_type_symbol == NULL) |
657 if (IN_type_symbol == NULL) |
637 IN_type_symbol = last_type_symbol; |
658 IN_type_symbol = last_type_symbol; |
638 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
659 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
639 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
660 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
640 function_type_prefix = return_type_symbol; |
661 function_type_prefix = return_type_symbol; |
|
662 function_type_suffix = IN_type_symbol; |
641 break; |
663 break; |
642 |
664 |
643 } |
665 } |
644 |
666 |
645 |
667 |
671 } |
693 } |
672 |
694 |
673 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
695 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
674 { |
696 { |
675 |
697 |
|
698 function_name = (symbol_c*)(new pragma_c("__move_")); |
676 |
699 |
677 if (IN_type_symbol == NULL) |
700 if (IN_type_symbol == NULL) |
678 IN_type_symbol = last_type_symbol; |
701 IN_type_symbol = last_type_symbol; |
679 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
702 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
680 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
703 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
681 function_type_prefix = return_type_symbol; |
704 function_type_prefix = return_type_symbol; |
|
705 function_type_suffix = IN_type_symbol; |
682 break; |
706 break; |
683 |
707 |
684 } |
708 } |
685 |
709 |
686 |
710 |
712 } |
736 } |
713 |
737 |
714 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
738 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
715 { |
739 { |
716 |
740 |
|
741 function_name = (symbol_c*)(new pragma_c("__move_")); |
717 |
742 |
718 if (IN_type_symbol == NULL) |
743 if (IN_type_symbol == NULL) |
719 IN_type_symbol = last_type_symbol; |
744 IN_type_symbol = last_type_symbol; |
720 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
745 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
721 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
746 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
722 function_type_prefix = return_type_symbol; |
747 function_type_prefix = return_type_symbol; |
|
748 function_type_suffix = IN_type_symbol; |
723 break; |
749 break; |
724 |
750 |
725 } |
751 } |
726 |
752 |
727 |
753 |
795 } |
821 } |
796 |
822 |
797 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
823 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::real_type_name, last_type_symbol)) |
798 { |
824 { |
799 |
825 |
|
826 function_name = (symbol_c*)(new pragma_c("__move_")); |
800 |
827 |
801 if (IN_type_symbol == NULL) |
828 if (IN_type_symbol == NULL) |
802 IN_type_symbol = last_type_symbol; |
829 IN_type_symbol = last_type_symbol; |
803 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
830 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
804 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
831 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
805 function_type_prefix = return_type_symbol; |
832 function_type_prefix = return_type_symbol; |
|
833 function_type_suffix = IN_type_symbol; |
806 break; |
834 break; |
807 |
835 |
808 } |
836 } |
809 |
837 |
810 |
838 |
836 } |
864 } |
837 |
865 |
838 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
866 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
839 { |
867 { |
840 |
868 |
|
869 function_name = (symbol_c*)(new pragma_c("__move_")); |
841 |
870 |
842 if (IN_type_symbol == NULL) |
871 if (IN_type_symbol == NULL) |
843 IN_type_symbol = last_type_symbol; |
872 IN_type_symbol = last_type_symbol; |
844 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
873 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
845 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
874 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
846 function_type_prefix = return_type_symbol; |
875 function_type_prefix = return_type_symbol; |
|
876 function_type_suffix = IN_type_symbol; |
847 break; |
877 break; |
848 |
878 |
849 } |
879 } |
850 |
880 |
851 |
881 |
877 } |
907 } |
878 |
908 |
879 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
909 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
880 { |
910 { |
881 |
911 |
|
912 function_name = (symbol_c*)(new pragma_c("__move_")); |
882 |
913 |
883 if (IN_type_symbol == NULL) |
914 if (IN_type_symbol == NULL) |
884 IN_type_symbol = last_type_symbol; |
915 IN_type_symbol = last_type_symbol; |
885 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
916 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
886 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
917 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
887 function_type_prefix = return_type_symbol; |
918 function_type_prefix = return_type_symbol; |
|
919 function_type_suffix = IN_type_symbol; |
888 break; |
920 break; |
889 |
921 |
890 } |
922 } |
891 |
923 |
892 |
924 |
918 } |
950 } |
919 |
951 |
920 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
952 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
921 { |
953 { |
922 |
954 |
|
955 function_name = (symbol_c*)(new pragma_c("__move_")); |
923 |
956 |
924 if (IN_type_symbol == NULL) |
957 if (IN_type_symbol == NULL) |
925 IN_type_symbol = last_type_symbol; |
958 IN_type_symbol = last_type_symbol; |
926 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
959 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
927 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
960 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
928 function_type_prefix = return_type_symbol; |
961 function_type_prefix = return_type_symbol; |
|
962 function_type_suffix = IN_type_symbol; |
929 break; |
963 break; |
930 |
964 |
931 } |
965 } |
932 |
966 |
933 |
967 |
1001 } |
1035 } |
1002 |
1036 |
1003 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1037 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1004 { |
1038 { |
1005 |
1039 |
|
1040 function_name = (symbol_c*)(new pragma_c("__move_")); |
1006 |
1041 |
1007 if (IN_type_symbol == NULL) |
1042 if (IN_type_symbol == NULL) |
1008 IN_type_symbol = last_type_symbol; |
1043 IN_type_symbol = last_type_symbol; |
1009 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1044 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1010 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
1045 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
1011 function_type_prefix = return_type_symbol; |
1046 function_type_prefix = return_type_symbol; |
|
1047 function_type_suffix = IN_type_symbol; |
1012 break; |
1048 break; |
1013 |
1049 |
1014 } |
1050 } |
1015 |
1051 |
1016 |
1052 |
1126 } |
1162 } |
1127 |
1163 |
1128 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1164 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1129 { |
1165 { |
1130 |
1166 |
|
1167 function_name = (symbol_c*)(new pragma_c("__move_")); |
1131 |
1168 |
1132 if (IN_type_symbol == NULL) |
1169 if (IN_type_symbol == NULL) |
1133 IN_type_symbol = last_type_symbol; |
1170 IN_type_symbol = last_type_symbol; |
1134 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1171 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1135 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
1172 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
1136 function_type_prefix = return_type_symbol; |
1173 function_type_prefix = return_type_symbol; |
|
1174 function_type_suffix = IN_type_symbol; |
1137 break; |
1175 break; |
1138 |
1176 |
1139 } |
1177 } |
1140 |
1178 |
1141 |
1179 |
1167 } |
1205 } |
1168 |
1206 |
1169 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1207 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1170 { |
1208 { |
1171 |
1209 |
|
1210 function_name = (symbol_c*)(new pragma_c("__move_")); |
1172 |
1211 |
1173 if (IN_type_symbol == NULL) |
1212 if (IN_type_symbol == NULL) |
1174 IN_type_symbol = last_type_symbol; |
1213 IN_type_symbol = last_type_symbol; |
1175 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1214 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1176 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
1215 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
1177 function_type_prefix = return_type_symbol; |
1216 function_type_prefix = return_type_symbol; |
|
1217 function_type_suffix = IN_type_symbol; |
1178 break; |
1218 break; |
1179 |
1219 |
1180 } |
1220 } |
1181 |
1221 |
1182 |
1222 |
1250 } |
1290 } |
1251 |
1291 |
1252 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1292 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1253 { |
1293 { |
1254 |
1294 |
|
1295 function_name = (symbol_c*)(new pragma_c("__move_")); |
1255 |
1296 |
1256 if (IN_type_symbol == NULL) |
1297 if (IN_type_symbol == NULL) |
1257 IN_type_symbol = last_type_symbol; |
1298 IN_type_symbol = last_type_symbol; |
1258 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1299 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1259 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
1300 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
1260 function_type_prefix = return_type_symbol; |
1301 function_type_prefix = return_type_symbol; |
|
1302 function_type_suffix = IN_type_symbol; |
1261 break; |
1303 break; |
1262 |
1304 |
1263 } |
1305 } |
1264 |
1306 |
1265 |
1307 |
1291 } |
1333 } |
1292 |
1334 |
1293 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1335 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1294 { |
1336 { |
1295 |
1337 |
|
1338 function_name = (symbol_c*)(new pragma_c("__move_")); |
1296 |
1339 |
1297 if (IN_type_symbol == NULL) |
1340 if (IN_type_symbol == NULL) |
1298 IN_type_symbol = last_type_symbol; |
1341 IN_type_symbol = last_type_symbol; |
1299 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1342 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1300 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
1343 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
1301 function_type_prefix = return_type_symbol; |
1344 function_type_prefix = return_type_symbol; |
|
1345 function_type_suffix = IN_type_symbol; |
1302 break; |
1346 break; |
1303 |
1347 |
1304 } |
1348 } |
1305 |
1349 |
1306 |
1350 |
1332 } |
1376 } |
1333 |
1377 |
1334 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1378 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1335 { |
1379 { |
1336 |
1380 |
|
1381 function_name = (symbol_c*)(new pragma_c("__move_")); |
1337 |
1382 |
1338 if (IN_type_symbol == NULL) |
1383 if (IN_type_symbol == NULL) |
1339 IN_type_symbol = last_type_symbol; |
1384 IN_type_symbol = last_type_symbol; |
1340 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1385 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1341 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
1386 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
1342 function_type_prefix = return_type_symbol; |
1387 function_type_prefix = return_type_symbol; |
|
1388 function_type_suffix = IN_type_symbol; |
1343 break; |
1389 break; |
1344 |
1390 |
1345 } |
1391 } |
1346 |
1392 |
1347 |
1393 |
1373 } |
1419 } |
1374 |
1420 |
1375 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1421 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1376 { |
1422 { |
1377 |
1423 |
|
1424 function_name = (symbol_c*)(new pragma_c("__move_")); |
1378 |
1425 |
1379 if (IN_type_symbol == NULL) |
1426 if (IN_type_symbol == NULL) |
1380 IN_type_symbol = last_type_symbol; |
1427 IN_type_symbol = last_type_symbol; |
1381 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1428 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1382 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
1429 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
1383 function_type_prefix = return_type_symbol; |
1430 function_type_prefix = return_type_symbol; |
|
1431 function_type_suffix = IN_type_symbol; |
1384 break; |
1432 break; |
1385 |
1433 |
1386 } |
1434 } |
1387 |
1435 |
1388 |
1436 |
1414 } |
1462 } |
1415 |
1463 |
1416 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1464 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1417 { |
1465 { |
1418 |
1466 |
|
1467 function_name = (symbol_c*)(new pragma_c("__move_")); |
1419 |
1468 |
1420 if (IN_type_symbol == NULL) |
1469 if (IN_type_symbol == NULL) |
1421 IN_type_symbol = last_type_symbol; |
1470 IN_type_symbol = last_type_symbol; |
1422 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1471 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1423 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
1472 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
1424 function_type_prefix = return_type_symbol; |
1473 function_type_prefix = return_type_symbol; |
|
1474 function_type_suffix = IN_type_symbol; |
1425 break; |
1475 break; |
1426 |
1476 |
1427 } |
1477 } |
1428 |
1478 |
1429 |
1479 |
1455 } |
1505 } |
1456 |
1506 |
1457 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1507 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1458 { |
1508 { |
1459 |
1509 |
|
1510 function_name = (symbol_c*)(new pragma_c("__move_")); |
1460 |
1511 |
1461 if (IN_type_symbol == NULL) |
1512 if (IN_type_symbol == NULL) |
1462 IN_type_symbol = last_type_symbol; |
1513 IN_type_symbol = last_type_symbol; |
1463 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1514 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1464 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
1515 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
1465 function_type_prefix = return_type_symbol; |
1516 function_type_prefix = return_type_symbol; |
|
1517 function_type_suffix = IN_type_symbol; |
1466 break; |
1518 break; |
1467 |
1519 |
1468 } |
1520 } |
1469 |
1521 |
1470 |
1522 |
1496 } |
1548 } |
1497 |
1549 |
1498 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1550 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1499 { |
1551 { |
1500 |
1552 |
|
1553 function_name = (symbol_c*)(new pragma_c("__move_")); |
1501 |
1554 |
1502 if (IN_type_symbol == NULL) |
1555 if (IN_type_symbol == NULL) |
1503 IN_type_symbol = last_type_symbol; |
1556 IN_type_symbol = last_type_symbol; |
1504 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1557 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1505 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
1558 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
1506 function_type_prefix = return_type_symbol; |
1559 function_type_prefix = return_type_symbol; |
|
1560 function_type_suffix = IN_type_symbol; |
1507 break; |
1561 break; |
1508 |
1562 |
1509 } |
1563 } |
1510 |
1564 |
1511 |
1565 |
1579 } |
1633 } |
1580 |
1634 |
1581 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1635 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::sint_type_name, last_type_symbol)) |
1582 { |
1636 { |
1583 |
1637 |
|
1638 function_name = (symbol_c*)(new pragma_c("__move_")); |
1584 |
1639 |
1585 if (IN_type_symbol == NULL) |
1640 if (IN_type_symbol == NULL) |
1586 IN_type_symbol = last_type_symbol; |
1641 IN_type_symbol = last_type_symbol; |
1587 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1642 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1588 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
1643 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
1589 function_type_prefix = return_type_symbol; |
1644 function_type_prefix = return_type_symbol; |
|
1645 function_type_suffix = IN_type_symbol; |
1590 break; |
1646 break; |
1591 |
1647 |
1592 } |
1648 } |
1593 |
1649 |
1594 |
1650 |
1620 } |
1676 } |
1621 |
1677 |
1622 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1678 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1623 { |
1679 { |
1624 |
1680 |
|
1681 function_name = (symbol_c*)(new pragma_c("__move_")); |
1625 |
1682 |
1626 if (IN_type_symbol == NULL) |
1683 if (IN_type_symbol == NULL) |
1627 IN_type_symbol = last_type_symbol; |
1684 IN_type_symbol = last_type_symbol; |
1628 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1685 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1629 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
1686 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
1630 function_type_prefix = return_type_symbol; |
1687 function_type_prefix = return_type_symbol; |
|
1688 function_type_suffix = IN_type_symbol; |
1631 break; |
1689 break; |
1632 |
1690 |
1633 } |
1691 } |
1634 |
1692 |
1635 |
1693 |
1661 } |
1719 } |
1662 |
1720 |
1663 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1721 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1664 { |
1722 { |
1665 |
1723 |
|
1724 function_name = (symbol_c*)(new pragma_c("__move_")); |
1666 |
1725 |
1667 if (IN_type_symbol == NULL) |
1726 if (IN_type_symbol == NULL) |
1668 IN_type_symbol = last_type_symbol; |
1727 IN_type_symbol = last_type_symbol; |
1669 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1728 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1670 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
1729 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
1671 function_type_prefix = return_type_symbol; |
1730 function_type_prefix = return_type_symbol; |
|
1731 function_type_suffix = IN_type_symbol; |
1672 break; |
1732 break; |
1673 |
1733 |
1674 } |
1734 } |
1675 |
1735 |
1676 |
1736 |
1702 } |
1762 } |
1703 |
1763 |
1704 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1764 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1705 { |
1765 { |
1706 |
1766 |
|
1767 function_name = (symbol_c*)(new pragma_c("__move_")); |
1707 |
1768 |
1708 if (IN_type_symbol == NULL) |
1769 if (IN_type_symbol == NULL) |
1709 IN_type_symbol = last_type_symbol; |
1770 IN_type_symbol = last_type_symbol; |
1710 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1771 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1711 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
1772 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
1712 function_type_prefix = return_type_symbol; |
1773 function_type_prefix = return_type_symbol; |
|
1774 function_type_suffix = IN_type_symbol; |
1713 break; |
1775 break; |
1714 |
1776 |
1715 } |
1777 } |
1716 |
1778 |
1717 |
1779 |
1785 } |
1847 } |
1786 |
1848 |
1787 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1849 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1788 { |
1850 { |
1789 |
1851 |
|
1852 function_name = (symbol_c*)(new pragma_c("__move_")); |
1790 |
1853 |
1791 if (IN_type_symbol == NULL) |
1854 if (IN_type_symbol == NULL) |
1792 IN_type_symbol = last_type_symbol; |
1855 IN_type_symbol = last_type_symbol; |
1793 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1856 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1794 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
1857 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
1795 function_type_prefix = return_type_symbol; |
1858 function_type_prefix = return_type_symbol; |
|
1859 function_type_suffix = IN_type_symbol; |
1796 break; |
1860 break; |
1797 |
1861 |
1798 } |
1862 } |
1799 |
1863 |
1800 |
1864 |
1910 } |
1974 } |
1911 |
1975 |
1912 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1976 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1913 { |
1977 { |
1914 |
1978 |
|
1979 function_name = (symbol_c*)(new pragma_c("__move_")); |
1915 |
1980 |
1916 if (IN_type_symbol == NULL) |
1981 if (IN_type_symbol == NULL) |
1917 IN_type_symbol = last_type_symbol; |
1982 IN_type_symbol = last_type_symbol; |
1918 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1983 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1919 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
1984 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
1920 function_type_prefix = return_type_symbol; |
1985 function_type_prefix = return_type_symbol; |
|
1986 function_type_suffix = IN_type_symbol; |
1921 break; |
1987 break; |
1922 |
1988 |
1923 } |
1989 } |
1924 |
1990 |
1925 |
1991 |
1951 } |
2017 } |
1952 |
2018 |
1953 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2019 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
1954 { |
2020 { |
1955 |
2021 |
|
2022 function_name = (symbol_c*)(new pragma_c("__move_")); |
1956 |
2023 |
1957 if (IN_type_symbol == NULL) |
2024 if (IN_type_symbol == NULL) |
1958 IN_type_symbol = last_type_symbol; |
2025 IN_type_symbol = last_type_symbol; |
1959 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2026 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
1960 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
2027 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
1961 function_type_prefix = return_type_symbol; |
2028 function_type_prefix = return_type_symbol; |
|
2029 function_type_suffix = IN_type_symbol; |
1962 break; |
2030 break; |
1963 |
2031 |
1964 } |
2032 } |
1965 |
2033 |
1966 |
2034 |
2034 } |
2102 } |
2035 |
2103 |
2036 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2104 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2037 { |
2105 { |
2038 |
2106 |
|
2107 function_name = (symbol_c*)(new pragma_c("__move_")); |
2039 |
2108 |
2040 if (IN_type_symbol == NULL) |
2109 if (IN_type_symbol == NULL) |
2041 IN_type_symbol = last_type_symbol; |
2110 IN_type_symbol = last_type_symbol; |
2042 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2111 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2043 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
2112 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
2044 function_type_prefix = return_type_symbol; |
2113 function_type_prefix = return_type_symbol; |
|
2114 function_type_suffix = IN_type_symbol; |
2045 break; |
2115 break; |
2046 |
2116 |
2047 } |
2117 } |
2048 |
2118 |
2049 |
2119 |
2075 } |
2145 } |
2076 |
2146 |
2077 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2147 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2078 { |
2148 { |
2079 |
2149 |
|
2150 function_name = (symbol_c*)(new pragma_c("__move_")); |
2080 |
2151 |
2081 if (IN_type_symbol == NULL) |
2152 if (IN_type_symbol == NULL) |
2082 IN_type_symbol = last_type_symbol; |
2153 IN_type_symbol = last_type_symbol; |
2083 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2154 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2084 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
2155 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
2085 function_type_prefix = return_type_symbol; |
2156 function_type_prefix = return_type_symbol; |
|
2157 function_type_suffix = IN_type_symbol; |
2086 break; |
2158 break; |
2087 |
2159 |
2088 } |
2160 } |
2089 |
2161 |
2090 |
2162 |
2116 } |
2188 } |
2117 |
2189 |
2118 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2190 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2119 { |
2191 { |
2120 |
2192 |
|
2193 function_name = (symbol_c*)(new pragma_c("__move_")); |
2121 |
2194 |
2122 if (IN_type_symbol == NULL) |
2195 if (IN_type_symbol == NULL) |
2123 IN_type_symbol = last_type_symbol; |
2196 IN_type_symbol = last_type_symbol; |
2124 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2197 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2125 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
2198 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
2126 function_type_prefix = return_type_symbol; |
2199 function_type_prefix = return_type_symbol; |
|
2200 function_type_suffix = IN_type_symbol; |
2127 break; |
2201 break; |
2128 |
2202 |
2129 } |
2203 } |
2130 |
2204 |
2131 |
2205 |
2157 } |
2231 } |
2158 |
2232 |
2159 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2233 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2160 { |
2234 { |
2161 |
2235 |
|
2236 function_name = (symbol_c*)(new pragma_c("__move_")); |
2162 |
2237 |
2163 if (IN_type_symbol == NULL) |
2238 if (IN_type_symbol == NULL) |
2164 IN_type_symbol = last_type_symbol; |
2239 IN_type_symbol = last_type_symbol; |
2165 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2240 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2166 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
2241 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
2167 function_type_prefix = return_type_symbol; |
2242 function_type_prefix = return_type_symbol; |
|
2243 function_type_suffix = IN_type_symbol; |
2168 break; |
2244 break; |
2169 |
2245 |
2170 } |
2246 } |
2171 |
2247 |
2172 |
2248 |
2198 } |
2274 } |
2199 |
2275 |
2200 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2276 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2201 { |
2277 { |
2202 |
2278 |
|
2279 function_name = (symbol_c*)(new pragma_c("__move_")); |
2203 |
2280 |
2204 if (IN_type_symbol == NULL) |
2281 if (IN_type_symbol == NULL) |
2205 IN_type_symbol = last_type_symbol; |
2282 IN_type_symbol = last_type_symbol; |
2206 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2283 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2207 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
2284 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
2208 function_type_prefix = return_type_symbol; |
2285 function_type_prefix = return_type_symbol; |
|
2286 function_type_suffix = IN_type_symbol; |
2209 break; |
2287 break; |
2210 |
2288 |
2211 } |
2289 } |
2212 |
2290 |
2213 |
2291 |
2239 } |
2317 } |
2240 |
2318 |
2241 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2319 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2242 { |
2320 { |
2243 |
2321 |
|
2322 function_name = (symbol_c*)(new pragma_c("__move_")); |
2244 |
2323 |
2245 if (IN_type_symbol == NULL) |
2324 if (IN_type_symbol == NULL) |
2246 IN_type_symbol = last_type_symbol; |
2325 IN_type_symbol = last_type_symbol; |
2247 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2326 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2248 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
2327 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
2249 function_type_prefix = return_type_symbol; |
2328 function_type_prefix = return_type_symbol; |
|
2329 function_type_suffix = IN_type_symbol; |
2250 break; |
2330 break; |
2251 |
2331 |
2252 } |
2332 } |
2253 |
2333 |
2254 |
2334 |
2280 } |
2360 } |
2281 |
2361 |
2282 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2362 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2283 { |
2363 { |
2284 |
2364 |
|
2365 function_name = (symbol_c*)(new pragma_c("__move_")); |
2285 |
2366 |
2286 if (IN_type_symbol == NULL) |
2367 if (IN_type_symbol == NULL) |
2287 IN_type_symbol = last_type_symbol; |
2368 IN_type_symbol = last_type_symbol; |
2288 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2369 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2289 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
2370 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
2290 function_type_prefix = return_type_symbol; |
2371 function_type_prefix = return_type_symbol; |
|
2372 function_type_suffix = IN_type_symbol; |
2291 break; |
2373 break; |
2292 |
2374 |
2293 } |
2375 } |
2294 |
2376 |
2295 |
2377 |
2363 } |
2445 } |
2364 |
2446 |
2365 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2447 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lint_type_name, last_type_symbol)) |
2366 { |
2448 { |
2367 |
2449 |
|
2450 function_name = (symbol_c*)(new pragma_c("__move_")); |
2368 |
2451 |
2369 if (IN_type_symbol == NULL) |
2452 if (IN_type_symbol == NULL) |
2370 IN_type_symbol = last_type_symbol; |
2453 IN_type_symbol = last_type_symbol; |
2371 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2454 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2372 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
2455 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
2373 function_type_prefix = return_type_symbol; |
2456 function_type_prefix = return_type_symbol; |
|
2457 function_type_suffix = IN_type_symbol; |
2374 break; |
2458 break; |
2375 |
2459 |
2376 } |
2460 } |
2377 |
2461 |
2378 |
2462 |
2404 } |
2488 } |
2405 |
2489 |
2406 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2490 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2407 { |
2491 { |
2408 |
2492 |
|
2493 function_name = (symbol_c*)(new pragma_c("__move_")); |
2409 |
2494 |
2410 if (IN_type_symbol == NULL) |
2495 if (IN_type_symbol == NULL) |
2411 IN_type_symbol = last_type_symbol; |
2496 IN_type_symbol = last_type_symbol; |
2412 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2497 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2413 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
2498 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
2414 function_type_prefix = return_type_symbol; |
2499 function_type_prefix = return_type_symbol; |
|
2500 function_type_suffix = IN_type_symbol; |
2415 break; |
2501 break; |
2416 |
2502 |
2417 } |
2503 } |
2418 |
2504 |
2419 |
2505 |
2445 } |
2531 } |
2446 |
2532 |
2447 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2533 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2448 { |
2534 { |
2449 |
2535 |
|
2536 function_name = (symbol_c*)(new pragma_c("__move_")); |
2450 |
2537 |
2451 if (IN_type_symbol == NULL) |
2538 if (IN_type_symbol == NULL) |
2452 IN_type_symbol = last_type_symbol; |
2539 IN_type_symbol = last_type_symbol; |
2453 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2540 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2454 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
2541 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
2455 function_type_prefix = return_type_symbol; |
2542 function_type_prefix = return_type_symbol; |
|
2543 function_type_suffix = IN_type_symbol; |
2456 break; |
2544 break; |
2457 |
2545 |
2458 } |
2546 } |
2459 |
2547 |
2460 |
2548 |
2486 } |
2574 } |
2487 |
2575 |
2488 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2576 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2489 { |
2577 { |
2490 |
2578 |
|
2579 function_name = (symbol_c*)(new pragma_c("__move_")); |
2491 |
2580 |
2492 if (IN_type_symbol == NULL) |
2581 if (IN_type_symbol == NULL) |
2493 IN_type_symbol = last_type_symbol; |
2582 IN_type_symbol = last_type_symbol; |
2494 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2583 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2495 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
2584 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
2496 function_type_prefix = return_type_symbol; |
2585 function_type_prefix = return_type_symbol; |
|
2586 function_type_suffix = IN_type_symbol; |
2497 break; |
2587 break; |
2498 |
2588 |
2499 } |
2589 } |
2500 |
2590 |
2501 |
2591 |
2569 } |
2659 } |
2570 |
2660 |
2571 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2661 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2572 { |
2662 { |
2573 |
2663 |
|
2664 function_name = (symbol_c*)(new pragma_c("__move_")); |
2574 |
2665 |
2575 if (IN_type_symbol == NULL) |
2666 if (IN_type_symbol == NULL) |
2576 IN_type_symbol = last_type_symbol; |
2667 IN_type_symbol = last_type_symbol; |
2577 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2668 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2578 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
2669 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
2579 function_type_prefix = return_type_symbol; |
2670 function_type_prefix = return_type_symbol; |
|
2671 function_type_suffix = IN_type_symbol; |
2580 break; |
2672 break; |
2581 |
2673 |
2582 } |
2674 } |
2583 |
2675 |
2584 |
2676 |
2694 } |
2786 } |
2695 |
2787 |
2696 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2788 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2697 { |
2789 { |
2698 |
2790 |
|
2791 function_name = (symbol_c*)(new pragma_c("__move_")); |
2699 |
2792 |
2700 if (IN_type_symbol == NULL) |
2793 if (IN_type_symbol == NULL) |
2701 IN_type_symbol = last_type_symbol; |
2794 IN_type_symbol = last_type_symbol; |
2702 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2795 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2703 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
2796 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
2704 function_type_prefix = return_type_symbol; |
2797 function_type_prefix = return_type_symbol; |
|
2798 function_type_suffix = IN_type_symbol; |
2705 break; |
2799 break; |
2706 |
2800 |
2707 } |
2801 } |
2708 |
2802 |
2709 |
2803 |
2735 } |
2829 } |
2736 |
2830 |
2737 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2831 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2738 { |
2832 { |
2739 |
2833 |
|
2834 function_name = (symbol_c*)(new pragma_c("__move_")); |
2740 |
2835 |
2741 if (IN_type_symbol == NULL) |
2836 if (IN_type_symbol == NULL) |
2742 IN_type_symbol = last_type_symbol; |
2837 IN_type_symbol = last_type_symbol; |
2743 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2838 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2744 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
2839 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
2745 function_type_prefix = return_type_symbol; |
2840 function_type_prefix = return_type_symbol; |
|
2841 function_type_suffix = IN_type_symbol; |
2746 break; |
2842 break; |
2747 |
2843 |
2748 } |
2844 } |
2749 |
2845 |
2750 |
2846 |
2818 } |
2914 } |
2819 |
2915 |
2820 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2916 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2821 { |
2917 { |
2822 |
2918 |
|
2919 function_name = (symbol_c*)(new pragma_c("__move_")); |
2823 |
2920 |
2824 if (IN_type_symbol == NULL) |
2921 if (IN_type_symbol == NULL) |
2825 IN_type_symbol = last_type_symbol; |
2922 IN_type_symbol = last_type_symbol; |
2826 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2923 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2827 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
2924 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
2828 function_type_prefix = return_type_symbol; |
2925 function_type_prefix = return_type_symbol; |
|
2926 function_type_suffix = IN_type_symbol; |
2829 break; |
2927 break; |
2830 |
2928 |
2831 } |
2929 } |
2832 |
2930 |
2833 |
2931 |
2859 } |
2957 } |
2860 |
2958 |
2861 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2959 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2862 { |
2960 { |
2863 |
2961 |
|
2962 function_name = (symbol_c*)(new pragma_c("__move_")); |
2864 |
2963 |
2865 if (IN_type_symbol == NULL) |
2964 if (IN_type_symbol == NULL) |
2866 IN_type_symbol = last_type_symbol; |
2965 IN_type_symbol = last_type_symbol; |
2867 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2966 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2868 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
2967 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
2869 function_type_prefix = return_type_symbol; |
2968 function_type_prefix = return_type_symbol; |
|
2969 function_type_suffix = IN_type_symbol; |
2870 break; |
2970 break; |
2871 |
2971 |
2872 } |
2972 } |
2873 |
2973 |
2874 |
2974 |
2900 } |
3000 } |
2901 |
3001 |
2902 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3002 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2903 { |
3003 { |
2904 |
3004 |
|
3005 function_name = (symbol_c*)(new pragma_c("__move_")); |
2905 |
3006 |
2906 if (IN_type_symbol == NULL) |
3007 if (IN_type_symbol == NULL) |
2907 IN_type_symbol = last_type_symbol; |
3008 IN_type_symbol = last_type_symbol; |
2908 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3009 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2909 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
3010 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
2910 function_type_prefix = return_type_symbol; |
3011 function_type_prefix = return_type_symbol; |
|
3012 function_type_suffix = IN_type_symbol; |
2911 break; |
3013 break; |
2912 |
3014 |
2913 } |
3015 } |
2914 |
3016 |
2915 |
3017 |
2941 } |
3043 } |
2942 |
3044 |
2943 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3045 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2944 { |
3046 { |
2945 |
3047 |
|
3048 function_name = (symbol_c*)(new pragma_c("__move_")); |
2946 |
3049 |
2947 if (IN_type_symbol == NULL) |
3050 if (IN_type_symbol == NULL) |
2948 IN_type_symbol = last_type_symbol; |
3051 IN_type_symbol = last_type_symbol; |
2949 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3052 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2950 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
3053 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
2951 function_type_prefix = return_type_symbol; |
3054 function_type_prefix = return_type_symbol; |
|
3055 function_type_suffix = IN_type_symbol; |
2952 break; |
3056 break; |
2953 |
3057 |
2954 } |
3058 } |
2955 |
3059 |
2956 |
3060 |
2982 } |
3086 } |
2983 |
3087 |
2984 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3088 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
2985 { |
3089 { |
2986 |
3090 |
|
3091 function_name = (symbol_c*)(new pragma_c("__move_")); |
2987 |
3092 |
2988 if (IN_type_symbol == NULL) |
3093 if (IN_type_symbol == NULL) |
2989 IN_type_symbol = last_type_symbol; |
3094 IN_type_symbol = last_type_symbol; |
2990 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3095 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
2991 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
3096 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
2992 function_type_prefix = return_type_symbol; |
3097 function_type_prefix = return_type_symbol; |
|
3098 function_type_suffix = IN_type_symbol; |
2993 break; |
3099 break; |
2994 |
3100 |
2995 } |
3101 } |
2996 |
3102 |
2997 |
3103 |
3023 } |
3129 } |
3024 |
3130 |
3025 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3131 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3026 { |
3132 { |
3027 |
3133 |
|
3134 function_name = (symbol_c*)(new pragma_c("__move_")); |
3028 |
3135 |
3029 if (IN_type_symbol == NULL) |
3136 if (IN_type_symbol == NULL) |
3030 IN_type_symbol = last_type_symbol; |
3137 IN_type_symbol = last_type_symbol; |
3031 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3138 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3032 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
3139 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
3033 function_type_prefix = return_type_symbol; |
3140 function_type_prefix = return_type_symbol; |
|
3141 function_type_suffix = IN_type_symbol; |
3034 break; |
3142 break; |
3035 |
3143 |
3036 } |
3144 } |
3037 |
3145 |
3038 |
3146 |
3064 } |
3172 } |
3065 |
3173 |
3066 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3174 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3067 { |
3175 { |
3068 |
3176 |
|
3177 function_name = (symbol_c*)(new pragma_c("__move_")); |
3069 |
3178 |
3070 if (IN_type_symbol == NULL) |
3179 if (IN_type_symbol == NULL) |
3071 IN_type_symbol = last_type_symbol; |
3180 IN_type_symbol = last_type_symbol; |
3072 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3181 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3073 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
3182 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
3074 function_type_prefix = return_type_symbol; |
3183 function_type_prefix = return_type_symbol; |
|
3184 function_type_suffix = IN_type_symbol; |
3075 break; |
3185 break; |
3076 |
3186 |
3077 } |
3187 } |
3078 |
3188 |
3079 |
3189 |
3147 } |
3257 } |
3148 |
3258 |
3149 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3259 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dint_type_name, last_type_symbol)) |
3150 { |
3260 { |
3151 |
3261 |
|
3262 function_name = (symbol_c*)(new pragma_c("__move_")); |
3152 |
3263 |
3153 if (IN_type_symbol == NULL) |
3264 if (IN_type_symbol == NULL) |
3154 IN_type_symbol = last_type_symbol; |
3265 IN_type_symbol = last_type_symbol; |
3155 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3266 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3156 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
3267 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
3157 function_type_prefix = return_type_symbol; |
3268 function_type_prefix = return_type_symbol; |
|
3269 function_type_suffix = IN_type_symbol; |
3158 break; |
3270 break; |
3159 |
3271 |
3160 } |
3272 } |
3161 |
3273 |
3162 |
3274 |
3818 } |
3930 } |
3819 |
3931 |
3820 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
3932 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
3821 { |
3933 { |
3822 |
3934 |
|
3935 function_name = (symbol_c*)(new pragma_c("__move_")); |
3823 |
3936 |
3824 if (IN_type_symbol == NULL) |
3937 if (IN_type_symbol == NULL) |
3825 IN_type_symbol = last_type_symbol; |
3938 IN_type_symbol = last_type_symbol; |
3826 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3939 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3827 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
3940 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
3828 function_type_prefix = return_type_symbol; |
3941 function_type_prefix = return_type_symbol; |
|
3942 function_type_suffix = IN_type_symbol; |
3829 break; |
3943 break; |
3830 |
3944 |
3831 } |
3945 } |
3832 |
3946 |
3833 |
3947 |
3859 } |
3973 } |
3860 |
3974 |
3861 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
3975 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
3862 { |
3976 { |
3863 |
3977 |
|
3978 function_name = (symbol_c*)(new pragma_c("__move_")); |
3864 |
3979 |
3865 if (IN_type_symbol == NULL) |
3980 if (IN_type_symbol == NULL) |
3866 IN_type_symbol = last_type_symbol; |
3981 IN_type_symbol = last_type_symbol; |
3867 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3982 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3868 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
3983 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
3869 function_type_prefix = return_type_symbol; |
3984 function_type_prefix = return_type_symbol; |
|
3985 function_type_suffix = IN_type_symbol; |
3870 break; |
3986 break; |
3871 |
3987 |
3872 } |
3988 } |
3873 |
3989 |
3874 |
3990 |
3900 } |
4016 } |
3901 |
4017 |
3902 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4018 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
3903 { |
4019 { |
3904 |
4020 |
|
4021 function_name = (symbol_c*)(new pragma_c("__move_")); |
3905 |
4022 |
3906 if (IN_type_symbol == NULL) |
4023 if (IN_type_symbol == NULL) |
3907 IN_type_symbol = last_type_symbol; |
4024 IN_type_symbol = last_type_symbol; |
3908 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4025 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3909 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
4026 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
3910 function_type_prefix = return_type_symbol; |
4027 function_type_prefix = return_type_symbol; |
|
4028 function_type_suffix = IN_type_symbol; |
3911 break; |
4029 break; |
3912 |
4030 |
3913 } |
4031 } |
3914 |
4032 |
3915 |
4033 |
3941 } |
4059 } |
3942 |
4060 |
3943 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4061 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
3944 { |
4062 { |
3945 |
4063 |
|
4064 function_name = (symbol_c*)(new pragma_c("__move_")); |
3946 |
4065 |
3947 if (IN_type_symbol == NULL) |
4066 if (IN_type_symbol == NULL) |
3948 IN_type_symbol = last_type_symbol; |
4067 IN_type_symbol = last_type_symbol; |
3949 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4068 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
3950 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
4069 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
3951 function_type_prefix = return_type_symbol; |
4070 function_type_prefix = return_type_symbol; |
|
4071 function_type_suffix = IN_type_symbol; |
3952 break; |
4072 break; |
3953 |
4073 |
3954 } |
4074 } |
3955 |
4075 |
3956 |
4076 |
4108 } |
4228 } |
4109 |
4229 |
4110 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4230 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4111 { |
4231 { |
4112 |
4232 |
|
4233 function_name = (symbol_c*)(new pragma_c("__move_")); |
4113 |
4234 |
4114 if (IN_type_symbol == NULL) |
4235 if (IN_type_symbol == NULL) |
4115 IN_type_symbol = last_type_symbol; |
4236 IN_type_symbol = last_type_symbol; |
4116 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4237 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4117 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
4238 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
4118 function_type_prefix = return_type_symbol; |
4239 function_type_prefix = return_type_symbol; |
|
4240 function_type_suffix = IN_type_symbol; |
4119 break; |
4241 break; |
4120 |
4242 |
4121 } |
4243 } |
4122 |
4244 |
4123 |
4245 |
4149 } |
4271 } |
4150 |
4272 |
4151 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4273 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4152 { |
4274 { |
4153 |
4275 |
|
4276 function_name = (symbol_c*)(new pragma_c("__move_")); |
4154 |
4277 |
4155 if (IN_type_symbol == NULL) |
4278 if (IN_type_symbol == NULL) |
4156 IN_type_symbol = last_type_symbol; |
4279 IN_type_symbol = last_type_symbol; |
4157 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4280 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4158 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
4281 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
4159 function_type_prefix = return_type_symbol; |
4282 function_type_prefix = return_type_symbol; |
|
4283 function_type_suffix = IN_type_symbol; |
4160 break; |
4284 break; |
4161 |
4285 |
4162 } |
4286 } |
4163 |
4287 |
4164 |
4288 |
4232 } |
4356 } |
4233 |
4357 |
4234 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4358 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4235 { |
4359 { |
4236 |
4360 |
|
4361 function_name = (symbol_c*)(new pragma_c("__move_")); |
4237 |
4362 |
4238 if (IN_type_symbol == NULL) |
4363 if (IN_type_symbol == NULL) |
4239 IN_type_symbol = last_type_symbol; |
4364 IN_type_symbol = last_type_symbol; |
4240 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4365 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4241 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
4366 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
4242 function_type_prefix = return_type_symbol; |
4367 function_type_prefix = return_type_symbol; |
|
4368 function_type_suffix = IN_type_symbol; |
4243 break; |
4369 break; |
4244 |
4370 |
4245 } |
4371 } |
4246 |
4372 |
4247 |
4373 |
4273 } |
4399 } |
4274 |
4400 |
4275 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4401 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4276 { |
4402 { |
4277 |
4403 |
|
4404 function_name = (symbol_c*)(new pragma_c("__move_")); |
4278 |
4405 |
4279 if (IN_type_symbol == NULL) |
4406 if (IN_type_symbol == NULL) |
4280 IN_type_symbol = last_type_symbol; |
4407 IN_type_symbol = last_type_symbol; |
4281 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4408 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4282 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
4409 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
4283 function_type_prefix = return_type_symbol; |
4410 function_type_prefix = return_type_symbol; |
|
4411 function_type_suffix = IN_type_symbol; |
4284 break; |
4412 break; |
4285 |
4413 |
4286 } |
4414 } |
4287 |
4415 |
4288 |
4416 |
4314 } |
4442 } |
4315 |
4443 |
4316 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4444 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4317 { |
4445 { |
4318 |
4446 |
|
4447 function_name = (symbol_c*)(new pragma_c("__move_")); |
4319 |
4448 |
4320 if (IN_type_symbol == NULL) |
4449 if (IN_type_symbol == NULL) |
4321 IN_type_symbol = last_type_symbol; |
4450 IN_type_symbol = last_type_symbol; |
4322 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4451 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4323 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
4452 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
4324 function_type_prefix = return_type_symbol; |
4453 function_type_prefix = return_type_symbol; |
|
4454 function_type_suffix = IN_type_symbol; |
4325 break; |
4455 break; |
4326 |
4456 |
4327 } |
4457 } |
4328 |
4458 |
4329 |
4459 |
4355 } |
4485 } |
4356 |
4486 |
4357 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4487 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4358 { |
4488 { |
4359 |
4489 |
|
4490 function_name = (symbol_c*)(new pragma_c("__move_")); |
4360 |
4491 |
4361 if (IN_type_symbol == NULL) |
4492 if (IN_type_symbol == NULL) |
4362 IN_type_symbol = last_type_symbol; |
4493 IN_type_symbol = last_type_symbol; |
4363 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4494 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4364 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
4495 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
4365 function_type_prefix = return_type_symbol; |
4496 function_type_prefix = return_type_symbol; |
|
4497 function_type_suffix = IN_type_symbol; |
4366 break; |
4498 break; |
4367 |
4499 |
4368 } |
4500 } |
4369 |
4501 |
4370 |
4502 |
4396 } |
4528 } |
4397 |
4529 |
4398 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4530 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4399 { |
4531 { |
4400 |
4532 |
|
4533 function_name = (symbol_c*)(new pragma_c("__move_")); |
4401 |
4534 |
4402 if (IN_type_symbol == NULL) |
4535 if (IN_type_symbol == NULL) |
4403 IN_type_symbol = last_type_symbol; |
4536 IN_type_symbol = last_type_symbol; |
4404 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4537 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4405 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
4538 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
4406 function_type_prefix = return_type_symbol; |
4539 function_type_prefix = return_type_symbol; |
|
4540 function_type_suffix = IN_type_symbol; |
4407 break; |
4541 break; |
4408 |
4542 |
4409 } |
4543 } |
4410 |
4544 |
4411 |
4545 |
4437 } |
4571 } |
4438 |
4572 |
4439 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4573 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4440 { |
4574 { |
4441 |
4575 |
|
4576 function_name = (symbol_c*)(new pragma_c("__move_")); |
4442 |
4577 |
4443 if (IN_type_symbol == NULL) |
4578 if (IN_type_symbol == NULL) |
4444 IN_type_symbol = last_type_symbol; |
4579 IN_type_symbol = last_type_symbol; |
4445 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4580 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4446 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
4581 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
4447 function_type_prefix = return_type_symbol; |
4582 function_type_prefix = return_type_symbol; |
|
4583 function_type_suffix = IN_type_symbol; |
4448 break; |
4584 break; |
4449 |
4585 |
4450 } |
4586 } |
4451 |
4587 |
4452 |
4588 |
4478 } |
4614 } |
4479 |
4615 |
4480 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4616 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4481 { |
4617 { |
4482 |
4618 |
|
4619 function_name = (symbol_c*)(new pragma_c("__move_")); |
4483 |
4620 |
4484 if (IN_type_symbol == NULL) |
4621 if (IN_type_symbol == NULL) |
4485 IN_type_symbol = last_type_symbol; |
4622 IN_type_symbol = last_type_symbol; |
4486 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4623 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4487 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
4624 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
4488 function_type_prefix = return_type_symbol; |
4625 function_type_prefix = return_type_symbol; |
|
4626 function_type_suffix = IN_type_symbol; |
4489 break; |
4627 break; |
4490 |
4628 |
4491 } |
4629 } |
4492 |
4630 |
4493 |
4631 |
4561 } |
4699 } |
4562 |
4700 |
4563 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4701 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::dword_type_name, last_type_symbol)) |
4564 { |
4702 { |
4565 |
4703 |
|
4704 function_name = (symbol_c*)(new pragma_c("__move_")); |
4566 |
4705 |
4567 if (IN_type_symbol == NULL) |
4706 if (IN_type_symbol == NULL) |
4568 IN_type_symbol = last_type_symbol; |
4707 IN_type_symbol = last_type_symbol; |
4569 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4708 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
4570 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
4709 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
4571 function_type_prefix = return_type_symbol; |
4710 function_type_prefix = return_type_symbol; |
|
4711 function_type_suffix = IN_type_symbol; |
4572 break; |
4712 break; |
4573 |
4713 |
4574 } |
4714 } |
4575 |
4715 |
4576 |
4716 |
5862 } |
6002 } |
5863 |
6003 |
5864 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6004 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
5865 { |
6005 { |
5866 |
6006 |
|
6007 function_name = (symbol_c*)(new pragma_c("__move_")); |
5867 |
6008 |
5868 if (IN_type_symbol == NULL) |
6009 if (IN_type_symbol == NULL) |
5869 IN_type_symbol = last_type_symbol; |
6010 IN_type_symbol = last_type_symbol; |
5870 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6011 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
5871 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
6012 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
5872 function_type_prefix = return_type_symbol; |
6013 function_type_prefix = return_type_symbol; |
|
6014 function_type_suffix = IN_type_symbol; |
5873 break; |
6015 break; |
5874 |
6016 |
5875 } |
6017 } |
5876 |
6018 |
5877 |
6019 |
5903 } |
6045 } |
5904 |
6046 |
5905 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6047 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
5906 { |
6048 { |
5907 |
6049 |
|
6050 function_name = (symbol_c*)(new pragma_c("__move_")); |
5908 |
6051 |
5909 if (IN_type_symbol == NULL) |
6052 if (IN_type_symbol == NULL) |
5910 IN_type_symbol = last_type_symbol; |
6053 IN_type_symbol = last_type_symbol; |
5911 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6054 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
5912 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
6055 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
5913 function_type_prefix = return_type_symbol; |
6056 function_type_prefix = return_type_symbol; |
|
6057 function_type_suffix = IN_type_symbol; |
5914 break; |
6058 break; |
5915 |
6059 |
5916 } |
6060 } |
5917 |
6061 |
5918 |
6062 |
5944 } |
6088 } |
5945 |
6089 |
5946 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6090 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
5947 { |
6091 { |
5948 |
6092 |
|
6093 function_name = (symbol_c*)(new pragma_c("__move_")); |
5949 |
6094 |
5950 if (IN_type_symbol == NULL) |
6095 if (IN_type_symbol == NULL) |
5951 IN_type_symbol = last_type_symbol; |
6096 IN_type_symbol = last_type_symbol; |
5952 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6097 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
5953 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
6098 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
5954 function_type_prefix = return_type_symbol; |
6099 function_type_prefix = return_type_symbol; |
|
6100 function_type_suffix = IN_type_symbol; |
5955 break; |
6101 break; |
5956 |
6102 |
5957 } |
6103 } |
5958 |
6104 |
5959 |
6105 |
5985 } |
6131 } |
5986 |
6132 |
5987 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6133 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
5988 { |
6134 { |
5989 |
6135 |
|
6136 function_name = (symbol_c*)(new pragma_c("__move_")); |
5990 |
6137 |
5991 if (IN_type_symbol == NULL) |
6138 if (IN_type_symbol == NULL) |
5992 IN_type_symbol = last_type_symbol; |
6139 IN_type_symbol = last_type_symbol; |
5993 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6140 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
5994 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
6141 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
5995 function_type_prefix = return_type_symbol; |
6142 function_type_prefix = return_type_symbol; |
|
6143 function_type_suffix = IN_type_symbol; |
5996 break; |
6144 break; |
5997 |
6145 |
5998 } |
6146 } |
5999 |
6147 |
6000 |
6148 |
6068 } |
6216 } |
6069 |
6217 |
6070 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6218 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6071 { |
6219 { |
6072 |
6220 |
|
6221 function_name = (symbol_c*)(new pragma_c("__move_")); |
6073 |
6222 |
6074 if (IN_type_symbol == NULL) |
6223 if (IN_type_symbol == NULL) |
6075 IN_type_symbol = last_type_symbol; |
6224 IN_type_symbol = last_type_symbol; |
6076 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6225 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6077 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
6226 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
6078 function_type_prefix = return_type_symbol; |
6227 function_type_prefix = return_type_symbol; |
|
6228 function_type_suffix = IN_type_symbol; |
6079 break; |
6229 break; |
6080 |
6230 |
6081 } |
6231 } |
6082 |
6232 |
6083 |
6233 |
6193 } |
6343 } |
6194 |
6344 |
6195 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6345 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6196 { |
6346 { |
6197 |
6347 |
|
6348 function_name = (symbol_c*)(new pragma_c("__move_")); |
6198 |
6349 |
6199 if (IN_type_symbol == NULL) |
6350 if (IN_type_symbol == NULL) |
6200 IN_type_symbol = last_type_symbol; |
6351 IN_type_symbol = last_type_symbol; |
6201 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6352 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6202 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
6353 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
6203 function_type_prefix = return_type_symbol; |
6354 function_type_prefix = return_type_symbol; |
|
6355 function_type_suffix = IN_type_symbol; |
6204 break; |
6356 break; |
6205 |
6357 |
6206 } |
6358 } |
6207 |
6359 |
6208 |
6360 |
6276 } |
6428 } |
6277 |
6429 |
6278 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6430 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6279 { |
6431 { |
6280 |
6432 |
|
6433 function_name = (symbol_c*)(new pragma_c("__move_")); |
6281 |
6434 |
6282 if (IN_type_symbol == NULL) |
6435 if (IN_type_symbol == NULL) |
6283 IN_type_symbol = last_type_symbol; |
6436 IN_type_symbol = last_type_symbol; |
6284 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6437 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6285 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
6438 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
6286 function_type_prefix = return_type_symbol; |
6439 function_type_prefix = return_type_symbol; |
|
6440 function_type_suffix = IN_type_symbol; |
6287 break; |
6441 break; |
6288 |
6442 |
6289 } |
6443 } |
6290 |
6444 |
6291 |
6445 |
6317 } |
6471 } |
6318 |
6472 |
6319 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6473 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6320 { |
6474 { |
6321 |
6475 |
|
6476 function_name = (symbol_c*)(new pragma_c("__move_")); |
6322 |
6477 |
6323 if (IN_type_symbol == NULL) |
6478 if (IN_type_symbol == NULL) |
6324 IN_type_symbol = last_type_symbol; |
6479 IN_type_symbol = last_type_symbol; |
6325 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6480 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6326 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
6481 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
6327 function_type_prefix = return_type_symbol; |
6482 function_type_prefix = return_type_symbol; |
|
6483 function_type_suffix = IN_type_symbol; |
6328 break; |
6484 break; |
6329 |
6485 |
6330 } |
6486 } |
6331 |
6487 |
6332 |
6488 |
6358 } |
6514 } |
6359 |
6515 |
6360 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6516 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6361 { |
6517 { |
6362 |
6518 |
|
6519 function_name = (symbol_c*)(new pragma_c("__move_")); |
6363 |
6520 |
6364 if (IN_type_symbol == NULL) |
6521 if (IN_type_symbol == NULL) |
6365 IN_type_symbol = last_type_symbol; |
6522 IN_type_symbol = last_type_symbol; |
6366 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6523 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6367 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
6524 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
6368 function_type_prefix = return_type_symbol; |
6525 function_type_prefix = return_type_symbol; |
|
6526 function_type_suffix = IN_type_symbol; |
6369 break; |
6527 break; |
6370 |
6528 |
6371 } |
6529 } |
6372 |
6530 |
6373 |
6531 |
6399 } |
6557 } |
6400 |
6558 |
6401 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6559 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6402 { |
6560 { |
6403 |
6561 |
|
6562 function_name = (symbol_c*)(new pragma_c("__move_")); |
6404 |
6563 |
6405 if (IN_type_symbol == NULL) |
6564 if (IN_type_symbol == NULL) |
6406 IN_type_symbol = last_type_symbol; |
6565 IN_type_symbol = last_type_symbol; |
6407 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6566 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6408 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
6567 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
6409 function_type_prefix = return_type_symbol; |
6568 function_type_prefix = return_type_symbol; |
|
6569 function_type_suffix = IN_type_symbol; |
6410 break; |
6570 break; |
6411 |
6571 |
6412 } |
6572 } |
6413 |
6573 |
6414 |
6574 |
6440 } |
6600 } |
6441 |
6601 |
6442 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6602 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6443 { |
6603 { |
6444 |
6604 |
|
6605 function_name = (symbol_c*)(new pragma_c("__move_")); |
6445 |
6606 |
6446 if (IN_type_symbol == NULL) |
6607 if (IN_type_symbol == NULL) |
6447 IN_type_symbol = last_type_symbol; |
6608 IN_type_symbol = last_type_symbol; |
6448 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6609 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6449 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
6610 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
6450 function_type_prefix = return_type_symbol; |
6611 function_type_prefix = return_type_symbol; |
|
6612 function_type_suffix = IN_type_symbol; |
6451 break; |
6613 break; |
6452 |
6614 |
6453 } |
6615 } |
6454 |
6616 |
6455 |
6617 |
6481 } |
6643 } |
6482 |
6644 |
6483 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6645 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6484 { |
6646 { |
6485 |
6647 |
|
6648 function_name = (symbol_c*)(new pragma_c("__move_")); |
6486 |
6649 |
6487 if (IN_type_symbol == NULL) |
6650 if (IN_type_symbol == NULL) |
6488 IN_type_symbol = last_type_symbol; |
6651 IN_type_symbol = last_type_symbol; |
6489 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6652 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6490 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
6653 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
6491 function_type_prefix = return_type_symbol; |
6654 function_type_prefix = return_type_symbol; |
|
6655 function_type_suffix = IN_type_symbol; |
6492 break; |
6656 break; |
6493 |
6657 |
6494 } |
6658 } |
6495 |
6659 |
6496 |
6660 |
6522 } |
6686 } |
6523 |
6687 |
6524 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6688 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6525 { |
6689 { |
6526 |
6690 |
|
6691 function_name = (symbol_c*)(new pragma_c("__move_")); |
6527 |
6692 |
6528 if (IN_type_symbol == NULL) |
6693 if (IN_type_symbol == NULL) |
6529 IN_type_symbol = last_type_symbol; |
6694 IN_type_symbol = last_type_symbol; |
6530 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6695 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6531 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
6696 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
6532 function_type_prefix = return_type_symbol; |
6697 function_type_prefix = return_type_symbol; |
|
6698 function_type_suffix = IN_type_symbol; |
6533 break; |
6699 break; |
6534 |
6700 |
6535 } |
6701 } |
6536 |
6702 |
6537 |
6703 |
6605 } |
6771 } |
6606 |
6772 |
6607 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6773 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::udint_type_name, last_type_symbol)) |
6608 { |
6774 { |
6609 |
6775 |
|
6776 function_name = (symbol_c*)(new pragma_c("__move_")); |
6610 |
6777 |
6611 if (IN_type_symbol == NULL) |
6778 if (IN_type_symbol == NULL) |
6612 IN_type_symbol = last_type_symbol; |
6779 IN_type_symbol = last_type_symbol; |
6613 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6780 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6614 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
6781 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
6615 function_type_prefix = return_type_symbol; |
6782 function_type_prefix = return_type_symbol; |
|
6783 function_type_suffix = IN_type_symbol; |
6616 break; |
6784 break; |
6617 |
6785 |
6618 } |
6786 } |
6619 |
6787 |
6620 |
6788 |
6646 } |
6814 } |
6647 |
6815 |
6648 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6816 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6649 { |
6817 { |
6650 |
6818 |
|
6819 function_name = (symbol_c*)(new pragma_c("__move_")); |
6651 |
6820 |
6652 if (IN_type_symbol == NULL) |
6821 if (IN_type_symbol == NULL) |
6653 IN_type_symbol = last_type_symbol; |
6822 IN_type_symbol = last_type_symbol; |
6654 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6823 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6655 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
6824 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
6656 function_type_prefix = return_type_symbol; |
6825 function_type_prefix = return_type_symbol; |
|
6826 function_type_suffix = IN_type_symbol; |
6657 break; |
6827 break; |
6658 |
6828 |
6659 } |
6829 } |
6660 |
6830 |
6661 |
6831 |
6687 } |
6857 } |
6688 |
6858 |
6689 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6859 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6690 { |
6860 { |
6691 |
6861 |
|
6862 function_name = (symbol_c*)(new pragma_c("__move_")); |
6692 |
6863 |
6693 if (IN_type_symbol == NULL) |
6864 if (IN_type_symbol == NULL) |
6694 IN_type_symbol = last_type_symbol; |
6865 IN_type_symbol = last_type_symbol; |
6695 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6866 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6696 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
6867 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
6697 function_type_prefix = return_type_symbol; |
6868 function_type_prefix = return_type_symbol; |
|
6869 function_type_suffix = IN_type_symbol; |
6698 break; |
6870 break; |
6699 |
6871 |
6700 } |
6872 } |
6701 |
6873 |
6702 |
6874 |
6728 } |
6900 } |
6729 |
6901 |
6730 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6902 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6731 { |
6903 { |
6732 |
6904 |
|
6905 function_name = (symbol_c*)(new pragma_c("__move_")); |
6733 |
6906 |
6734 if (IN_type_symbol == NULL) |
6907 if (IN_type_symbol == NULL) |
6735 IN_type_symbol = last_type_symbol; |
6908 IN_type_symbol = last_type_symbol; |
6736 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6909 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6737 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
6910 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
6738 function_type_prefix = return_type_symbol; |
6911 function_type_prefix = return_type_symbol; |
|
6912 function_type_suffix = IN_type_symbol; |
6739 break; |
6913 break; |
6740 |
6914 |
6741 } |
6915 } |
6742 |
6916 |
6743 |
6917 |
6769 } |
6943 } |
6770 |
6944 |
6771 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6945 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6772 { |
6946 { |
6773 |
6947 |
|
6948 function_name = (symbol_c*)(new pragma_c("__move_")); |
6774 |
6949 |
6775 if (IN_type_symbol == NULL) |
6950 if (IN_type_symbol == NULL) |
6776 IN_type_symbol = last_type_symbol; |
6951 IN_type_symbol = last_type_symbol; |
6777 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6952 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6778 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
6953 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
6779 function_type_prefix = return_type_symbol; |
6954 function_type_prefix = return_type_symbol; |
|
6955 function_type_suffix = IN_type_symbol; |
6780 break; |
6956 break; |
6781 |
6957 |
6782 } |
6958 } |
6783 |
6959 |
6784 |
6960 |
6852 } |
7028 } |
6853 |
7029 |
6854 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7030 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6855 { |
7031 { |
6856 |
7032 |
|
7033 function_name = (symbol_c*)(new pragma_c("__move_")); |
6857 |
7034 |
6858 if (IN_type_symbol == NULL) |
7035 if (IN_type_symbol == NULL) |
6859 IN_type_symbol = last_type_symbol; |
7036 IN_type_symbol = last_type_symbol; |
6860 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7037 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6861 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
7038 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
6862 function_type_prefix = return_type_symbol; |
7039 function_type_prefix = return_type_symbol; |
|
7040 function_type_suffix = IN_type_symbol; |
6863 break; |
7041 break; |
6864 |
7042 |
6865 } |
7043 } |
6866 |
7044 |
6867 |
7045 |
6977 } |
7155 } |
6978 |
7156 |
6979 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7157 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
6980 { |
7158 { |
6981 |
7159 |
|
7160 function_name = (symbol_c*)(new pragma_c("__move_")); |
6982 |
7161 |
6983 if (IN_type_symbol == NULL) |
7162 if (IN_type_symbol == NULL) |
6984 IN_type_symbol = last_type_symbol; |
7163 IN_type_symbol = last_type_symbol; |
6985 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7164 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
6986 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
7165 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
6987 function_type_prefix = return_type_symbol; |
7166 function_type_prefix = return_type_symbol; |
|
7167 function_type_suffix = IN_type_symbol; |
6988 break; |
7168 break; |
6989 |
7169 |
6990 } |
7170 } |
6991 |
7171 |
6992 |
7172 |
7060 } |
7240 } |
7061 |
7241 |
7062 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7242 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7063 { |
7243 { |
7064 |
7244 |
|
7245 function_name = (symbol_c*)(new pragma_c("__move_")); |
7065 |
7246 |
7066 if (IN_type_symbol == NULL) |
7247 if (IN_type_symbol == NULL) |
7067 IN_type_symbol = last_type_symbol; |
7248 IN_type_symbol = last_type_symbol; |
7068 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7249 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7069 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
7250 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
7070 function_type_prefix = return_type_symbol; |
7251 function_type_prefix = return_type_symbol; |
|
7252 function_type_suffix = IN_type_symbol; |
7071 break; |
7253 break; |
7072 |
7254 |
7073 } |
7255 } |
7074 |
7256 |
7075 |
7257 |
7101 } |
7283 } |
7102 |
7284 |
7103 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7285 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7104 { |
7286 { |
7105 |
7287 |
|
7288 function_name = (symbol_c*)(new pragma_c("__move_")); |
7106 |
7289 |
7107 if (IN_type_symbol == NULL) |
7290 if (IN_type_symbol == NULL) |
7108 IN_type_symbol = last_type_symbol; |
7291 IN_type_symbol = last_type_symbol; |
7109 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7292 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7110 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
7293 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
7111 function_type_prefix = return_type_symbol; |
7294 function_type_prefix = return_type_symbol; |
|
7295 function_type_suffix = IN_type_symbol; |
7112 break; |
7296 break; |
7113 |
7297 |
7114 } |
7298 } |
7115 |
7299 |
7116 |
7300 |
7142 } |
7326 } |
7143 |
7327 |
7144 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7328 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7145 { |
7329 { |
7146 |
7330 |
|
7331 function_name = (symbol_c*)(new pragma_c("__move_")); |
7147 |
7332 |
7148 if (IN_type_symbol == NULL) |
7333 if (IN_type_symbol == NULL) |
7149 IN_type_symbol = last_type_symbol; |
7334 IN_type_symbol = last_type_symbol; |
7150 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7335 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7151 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
7336 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
7152 function_type_prefix = return_type_symbol; |
7337 function_type_prefix = return_type_symbol; |
|
7338 function_type_suffix = IN_type_symbol; |
7153 break; |
7339 break; |
7154 |
7340 |
7155 } |
7341 } |
7156 |
7342 |
7157 |
7343 |
7183 } |
7369 } |
7184 |
7370 |
7185 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7371 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7186 { |
7372 { |
7187 |
7373 |
|
7374 function_name = (symbol_c*)(new pragma_c("__move_")); |
7188 |
7375 |
7189 if (IN_type_symbol == NULL) |
7376 if (IN_type_symbol == NULL) |
7190 IN_type_symbol = last_type_symbol; |
7377 IN_type_symbol = last_type_symbol; |
7191 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7378 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7192 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
7379 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
7193 function_type_prefix = return_type_symbol; |
7380 function_type_prefix = return_type_symbol; |
|
7381 function_type_suffix = IN_type_symbol; |
7194 break; |
7382 break; |
7195 |
7383 |
7196 } |
7384 } |
7197 |
7385 |
7198 |
7386 |
7224 } |
7412 } |
7225 |
7413 |
7226 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7414 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7227 { |
7415 { |
7228 |
7416 |
|
7417 function_name = (symbol_c*)(new pragma_c("__move_")); |
7229 |
7418 |
7230 if (IN_type_symbol == NULL) |
7419 if (IN_type_symbol == NULL) |
7231 IN_type_symbol = last_type_symbol; |
7420 IN_type_symbol = last_type_symbol; |
7232 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7421 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7233 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
7422 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
7234 function_type_prefix = return_type_symbol; |
7423 function_type_prefix = return_type_symbol; |
|
7424 function_type_suffix = IN_type_symbol; |
7235 break; |
7425 break; |
7236 |
7426 |
7237 } |
7427 } |
7238 |
7428 |
7239 |
7429 |
7265 } |
7455 } |
7266 |
7456 |
7267 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7457 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7268 { |
7458 { |
7269 |
7459 |
|
7460 function_name = (symbol_c*)(new pragma_c("__move_")); |
7270 |
7461 |
7271 if (IN_type_symbol == NULL) |
7462 if (IN_type_symbol == NULL) |
7272 IN_type_symbol = last_type_symbol; |
7463 IN_type_symbol = last_type_symbol; |
7273 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7464 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7274 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
7465 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
7275 function_type_prefix = return_type_symbol; |
7466 function_type_prefix = return_type_symbol; |
|
7467 function_type_suffix = IN_type_symbol; |
7276 break; |
7468 break; |
7277 |
7469 |
7278 } |
7470 } |
7279 |
7471 |
7280 |
7472 |
7306 } |
7498 } |
7307 |
7499 |
7308 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7500 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7309 { |
7501 { |
7310 |
7502 |
|
7503 function_name = (symbol_c*)(new pragma_c("__move_")); |
7311 |
7504 |
7312 if (IN_type_symbol == NULL) |
7505 if (IN_type_symbol == NULL) |
7313 IN_type_symbol = last_type_symbol; |
7506 IN_type_symbol = last_type_symbol; |
7314 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7507 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7315 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
7508 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
7316 function_type_prefix = return_type_symbol; |
7509 function_type_prefix = return_type_symbol; |
|
7510 function_type_suffix = IN_type_symbol; |
7317 break; |
7511 break; |
7318 |
7512 |
7319 } |
7513 } |
7320 |
7514 |
7321 |
7515 |
7389 } |
7583 } |
7390 |
7584 |
7391 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7585 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::word_type_name, last_type_symbol)) |
7392 { |
7586 { |
7393 |
7587 |
|
7588 function_name = (symbol_c*)(new pragma_c("__move_")); |
7394 |
7589 |
7395 if (IN_type_symbol == NULL) |
7590 if (IN_type_symbol == NULL) |
7396 IN_type_symbol = last_type_symbol; |
7591 IN_type_symbol = last_type_symbol; |
7397 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7592 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
7398 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
7593 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
7399 function_type_prefix = return_type_symbol; |
7594 function_type_prefix = return_type_symbol; |
|
7595 function_type_suffix = IN_type_symbol; |
7400 break; |
7596 break; |
7401 |
7597 |
7402 } |
7598 } |
7403 |
7599 |
7404 |
7600 |
8228 } |
8424 } |
8229 |
8425 |
8230 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8426 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8231 { |
8427 { |
8232 |
8428 |
|
8429 function_name = (symbol_c*)(new pragma_c("__move_")); |
8233 |
8430 |
8234 if (IN_type_symbol == NULL) |
8431 if (IN_type_symbol == NULL) |
8235 IN_type_symbol = last_type_symbol; |
8432 IN_type_symbol = last_type_symbol; |
8236 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8433 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8237 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
8434 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
8238 function_type_prefix = return_type_symbol; |
8435 function_type_prefix = return_type_symbol; |
|
8436 function_type_suffix = IN_type_symbol; |
8239 break; |
8437 break; |
8240 |
8438 |
8241 } |
8439 } |
8242 |
8440 |
8243 |
8441 |
8269 } |
8467 } |
8270 |
8468 |
8271 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8469 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8272 { |
8470 { |
8273 |
8471 |
|
8472 function_name = (symbol_c*)(new pragma_c("__move_")); |
8274 |
8473 |
8275 if (IN_type_symbol == NULL) |
8474 if (IN_type_symbol == NULL) |
8276 IN_type_symbol = last_type_symbol; |
8475 IN_type_symbol = last_type_symbol; |
8277 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8476 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8278 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
8477 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
8279 function_type_prefix = return_type_symbol; |
8478 function_type_prefix = return_type_symbol; |
|
8479 function_type_suffix = IN_type_symbol; |
8280 break; |
8480 break; |
8281 |
8481 |
8282 } |
8482 } |
8283 |
8483 |
8284 |
8484 |
8310 } |
8510 } |
8311 |
8511 |
8312 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8512 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8313 { |
8513 { |
8314 |
8514 |
|
8515 function_name = (symbol_c*)(new pragma_c("__move_")); |
8315 |
8516 |
8316 if (IN_type_symbol == NULL) |
8517 if (IN_type_symbol == NULL) |
8317 IN_type_symbol = last_type_symbol; |
8518 IN_type_symbol = last_type_symbol; |
8318 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8519 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8319 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
8520 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
8320 function_type_prefix = return_type_symbol; |
8521 function_type_prefix = return_type_symbol; |
|
8522 function_type_suffix = IN_type_symbol; |
8321 break; |
8523 break; |
8322 |
8524 |
8323 } |
8525 } |
8324 |
8526 |
8325 |
8527 |
8351 } |
8553 } |
8352 |
8554 |
8353 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8555 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8354 { |
8556 { |
8355 |
8557 |
|
8558 function_name = (symbol_c*)(new pragma_c("__move_")); |
8356 |
8559 |
8357 if (IN_type_symbol == NULL) |
8560 if (IN_type_symbol == NULL) |
8358 IN_type_symbol = last_type_symbol; |
8561 IN_type_symbol = last_type_symbol; |
8359 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8562 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8360 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
8563 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
8361 function_type_prefix = return_type_symbol; |
8564 function_type_prefix = return_type_symbol; |
|
8565 function_type_suffix = IN_type_symbol; |
8362 break; |
8566 break; |
8363 |
8567 |
8364 } |
8568 } |
8365 |
8569 |
8366 |
8570 |
8434 } |
8638 } |
8435 |
8639 |
8436 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8640 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8437 { |
8641 { |
8438 |
8642 |
|
8643 function_name = (symbol_c*)(new pragma_c("__move_")); |
8439 |
8644 |
8440 if (IN_type_symbol == NULL) |
8645 if (IN_type_symbol == NULL) |
8441 IN_type_symbol = last_type_symbol; |
8646 IN_type_symbol = last_type_symbol; |
8442 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8647 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8443 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
8648 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
8444 function_type_prefix = return_type_symbol; |
8649 function_type_prefix = return_type_symbol; |
|
8650 function_type_suffix = IN_type_symbol; |
8445 break; |
8651 break; |
8446 |
8652 |
8447 } |
8653 } |
8448 |
8654 |
8449 |
8655 |
8559 } |
8765 } |
8560 |
8766 |
8561 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8767 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8562 { |
8768 { |
8563 |
8769 |
|
8770 function_name = (symbol_c*)(new pragma_c("__move_")); |
8564 |
8771 |
8565 if (IN_type_symbol == NULL) |
8772 if (IN_type_symbol == NULL) |
8566 IN_type_symbol = last_type_symbol; |
8773 IN_type_symbol = last_type_symbol; |
8567 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8774 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8568 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
8775 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
8569 function_type_prefix = return_type_symbol; |
8776 function_type_prefix = return_type_symbol; |
|
8777 function_type_suffix = IN_type_symbol; |
8570 break; |
8778 break; |
8571 |
8779 |
8572 } |
8780 } |
8573 |
8781 |
8574 |
8782 |
8600 } |
8808 } |
8601 |
8809 |
8602 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8810 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8603 { |
8811 { |
8604 |
8812 |
|
8813 function_name = (symbol_c*)(new pragma_c("__move_")); |
8605 |
8814 |
8606 if (IN_type_symbol == NULL) |
8815 if (IN_type_symbol == NULL) |
8607 IN_type_symbol = last_type_symbol; |
8816 IN_type_symbol = last_type_symbol; |
8608 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8817 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8609 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
8818 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
8610 function_type_prefix = return_type_symbol; |
8819 function_type_prefix = return_type_symbol; |
|
8820 function_type_suffix = IN_type_symbol; |
8611 break; |
8821 break; |
8612 |
8822 |
8613 } |
8823 } |
8614 |
8824 |
8615 |
8825 |
8683 } |
8893 } |
8684 |
8894 |
8685 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8895 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8686 { |
8896 { |
8687 |
8897 |
|
8898 function_name = (symbol_c*)(new pragma_c("__move_")); |
8688 |
8899 |
8689 if (IN_type_symbol == NULL) |
8900 if (IN_type_symbol == NULL) |
8690 IN_type_symbol = last_type_symbol; |
8901 IN_type_symbol = last_type_symbol; |
8691 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8902 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8692 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
8903 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
8693 function_type_prefix = return_type_symbol; |
8904 function_type_prefix = return_type_symbol; |
|
8905 function_type_suffix = IN_type_symbol; |
8694 break; |
8906 break; |
8695 |
8907 |
8696 } |
8908 } |
8697 |
8909 |
8698 |
8910 |
8724 } |
8936 } |
8725 |
8937 |
8726 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8938 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8727 { |
8939 { |
8728 |
8940 |
|
8941 function_name = (symbol_c*)(new pragma_c("__move_")); |
8729 |
8942 |
8730 if (IN_type_symbol == NULL) |
8943 if (IN_type_symbol == NULL) |
8731 IN_type_symbol = last_type_symbol; |
8944 IN_type_symbol = last_type_symbol; |
8732 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8945 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8733 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
8946 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
8734 function_type_prefix = return_type_symbol; |
8947 function_type_prefix = return_type_symbol; |
|
8948 function_type_suffix = IN_type_symbol; |
8735 break; |
8949 break; |
8736 |
8950 |
8737 } |
8951 } |
8738 |
8952 |
8739 |
8953 |
8765 } |
8979 } |
8766 |
8980 |
8767 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8981 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8768 { |
8982 { |
8769 |
8983 |
|
8984 function_name = (symbol_c*)(new pragma_c("__move_")); |
8770 |
8985 |
8771 if (IN_type_symbol == NULL) |
8986 if (IN_type_symbol == NULL) |
8772 IN_type_symbol = last_type_symbol; |
8987 IN_type_symbol = last_type_symbol; |
8773 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8988 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8774 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
8989 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
8775 function_type_prefix = return_type_symbol; |
8990 function_type_prefix = return_type_symbol; |
|
8991 function_type_suffix = IN_type_symbol; |
8776 break; |
8992 break; |
8777 |
8993 |
8778 } |
8994 } |
8779 |
8995 |
8780 |
8996 |
8806 } |
9022 } |
8807 |
9023 |
8808 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
9024 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8809 { |
9025 { |
8810 |
9026 |
|
9027 function_name = (symbol_c*)(new pragma_c("__move_")); |
8811 |
9028 |
8812 if (IN_type_symbol == NULL) |
9029 if (IN_type_symbol == NULL) |
8813 IN_type_symbol = last_type_symbol; |
9030 IN_type_symbol = last_type_symbol; |
8814 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9031 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8815 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
9032 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
8816 function_type_prefix = return_type_symbol; |
9033 function_type_prefix = return_type_symbol; |
|
9034 function_type_suffix = IN_type_symbol; |
8817 break; |
9035 break; |
8818 |
9036 |
8819 } |
9037 } |
8820 |
9038 |
8821 |
9039 |
8847 } |
9065 } |
8848 |
9066 |
8849 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
9067 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8850 { |
9068 { |
8851 |
9069 |
|
9070 function_name = (symbol_c*)(new pragma_c("__move_")); |
8852 |
9071 |
8853 if (IN_type_symbol == NULL) |
9072 if (IN_type_symbol == NULL) |
8854 IN_type_symbol = last_type_symbol; |
9073 IN_type_symbol = last_type_symbol; |
8855 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9074 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8856 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
9075 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
8857 function_type_prefix = return_type_symbol; |
9076 function_type_prefix = return_type_symbol; |
|
9077 function_type_suffix = IN_type_symbol; |
8858 break; |
9078 break; |
8859 |
9079 |
8860 } |
9080 } |
8861 |
9081 |
8862 |
9082 |
8888 } |
9108 } |
8889 |
9109 |
8890 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
9110 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8891 { |
9111 { |
8892 |
9112 |
|
9113 function_name = (symbol_c*)(new pragma_c("__move_")); |
8893 |
9114 |
8894 if (IN_type_symbol == NULL) |
9115 if (IN_type_symbol == NULL) |
8895 IN_type_symbol = last_type_symbol; |
9116 IN_type_symbol = last_type_symbol; |
8896 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9117 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8897 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
9118 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
8898 function_type_prefix = return_type_symbol; |
9119 function_type_prefix = return_type_symbol; |
|
9120 function_type_suffix = IN_type_symbol; |
8899 break; |
9121 break; |
8900 |
9122 |
8901 } |
9123 } |
8902 |
9124 |
8903 |
9125 |
8971 } |
9193 } |
8972 |
9194 |
8973 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
9195 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lword_type_name, last_type_symbol)) |
8974 { |
9196 { |
8975 |
9197 |
|
9198 function_name = (symbol_c*)(new pragma_c("__move_")); |
8976 |
9199 |
8977 if (IN_type_symbol == NULL) |
9200 if (IN_type_symbol == NULL) |
8978 IN_type_symbol = last_type_symbol; |
9201 IN_type_symbol = last_type_symbol; |
8979 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9202 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
8980 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
9203 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
8981 function_type_prefix = return_type_symbol; |
9204 function_type_prefix = return_type_symbol; |
|
9205 function_type_suffix = IN_type_symbol; |
8982 break; |
9206 break; |
8983 |
9207 |
8984 } |
9208 } |
8985 |
9209 |
8986 |
9210 |
9012 } |
9236 } |
9013 |
9237 |
9014 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9238 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9015 { |
9239 { |
9016 |
9240 |
|
9241 function_name = (symbol_c*)(new pragma_c("__move_")); |
9017 |
9242 |
9018 if (IN_type_symbol == NULL) |
9243 if (IN_type_symbol == NULL) |
9019 IN_type_symbol = last_type_symbol; |
9244 IN_type_symbol = last_type_symbol; |
9020 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9245 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9021 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
9246 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
9022 function_type_prefix = return_type_symbol; |
9247 function_type_prefix = return_type_symbol; |
|
9248 function_type_suffix = IN_type_symbol; |
9023 break; |
9249 break; |
9024 |
9250 |
9025 } |
9251 } |
9026 |
9252 |
9027 |
9253 |
9053 } |
9279 } |
9054 |
9280 |
9055 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9281 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9056 { |
9282 { |
9057 |
9283 |
|
9284 function_name = (symbol_c*)(new pragma_c("__move_")); |
9058 |
9285 |
9059 if (IN_type_symbol == NULL) |
9286 if (IN_type_symbol == NULL) |
9060 IN_type_symbol = last_type_symbol; |
9287 IN_type_symbol = last_type_symbol; |
9061 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9288 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9062 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
9289 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
9063 function_type_prefix = return_type_symbol; |
9290 function_type_prefix = return_type_symbol; |
|
9291 function_type_suffix = IN_type_symbol; |
9064 break; |
9292 break; |
9065 |
9293 |
9066 } |
9294 } |
9067 |
9295 |
9068 |
9296 |
9094 } |
9322 } |
9095 |
9323 |
9096 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9324 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9097 { |
9325 { |
9098 |
9326 |
|
9327 function_name = (symbol_c*)(new pragma_c("__move_")); |
9099 |
9328 |
9100 if (IN_type_symbol == NULL) |
9329 if (IN_type_symbol == NULL) |
9101 IN_type_symbol = last_type_symbol; |
9330 IN_type_symbol = last_type_symbol; |
9102 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9331 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9103 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
9332 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
9104 function_type_prefix = return_type_symbol; |
9333 function_type_prefix = return_type_symbol; |
|
9334 function_type_suffix = IN_type_symbol; |
9105 break; |
9335 break; |
9106 |
9336 |
9107 } |
9337 } |
9108 |
9338 |
9109 |
9339 |
9135 } |
9365 } |
9136 |
9366 |
9137 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9367 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9138 { |
9368 { |
9139 |
9369 |
|
9370 function_name = (symbol_c*)(new pragma_c("__move_")); |
9140 |
9371 |
9141 if (IN_type_symbol == NULL) |
9372 if (IN_type_symbol == NULL) |
9142 IN_type_symbol = last_type_symbol; |
9373 IN_type_symbol = last_type_symbol; |
9143 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9374 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9144 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
9375 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
9145 function_type_prefix = return_type_symbol; |
9376 function_type_prefix = return_type_symbol; |
|
9377 function_type_suffix = IN_type_symbol; |
9146 break; |
9378 break; |
9147 |
9379 |
9148 } |
9380 } |
9149 |
9381 |
9150 |
9382 |
9218 } |
9450 } |
9219 |
9451 |
9220 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9452 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9221 { |
9453 { |
9222 |
9454 |
|
9455 function_name = (symbol_c*)(new pragma_c("__move_")); |
9223 |
9456 |
9224 if (IN_type_symbol == NULL) |
9457 if (IN_type_symbol == NULL) |
9225 IN_type_symbol = last_type_symbol; |
9458 IN_type_symbol = last_type_symbol; |
9226 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9459 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9227 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
9460 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
9228 function_type_prefix = return_type_symbol; |
9461 function_type_prefix = return_type_symbol; |
|
9462 function_type_suffix = IN_type_symbol; |
9229 break; |
9463 break; |
9230 |
9464 |
9231 } |
9465 } |
9232 |
9466 |
9233 |
9467 |
9343 } |
9577 } |
9344 |
9578 |
9345 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9579 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9346 { |
9580 { |
9347 |
9581 |
|
9582 function_name = (symbol_c*)(new pragma_c("__move_")); |
9348 |
9583 |
9349 if (IN_type_symbol == NULL) |
9584 if (IN_type_symbol == NULL) |
9350 IN_type_symbol = last_type_symbol; |
9585 IN_type_symbol = last_type_symbol; |
9351 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9586 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9352 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
9587 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
9353 function_type_prefix = return_type_symbol; |
9588 function_type_prefix = return_type_symbol; |
|
9589 function_type_suffix = IN_type_symbol; |
9354 break; |
9590 break; |
9355 |
9591 |
9356 } |
9592 } |
9357 |
9593 |
9358 |
9594 |
9384 } |
9620 } |
9385 |
9621 |
9386 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9622 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9387 { |
9623 { |
9388 |
9624 |
|
9625 function_name = (symbol_c*)(new pragma_c("__move_")); |
9389 |
9626 |
9390 if (IN_type_symbol == NULL) |
9627 if (IN_type_symbol == NULL) |
9391 IN_type_symbol = last_type_symbol; |
9628 IN_type_symbol = last_type_symbol; |
9392 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9629 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9393 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
9630 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
9394 function_type_prefix = return_type_symbol; |
9631 function_type_prefix = return_type_symbol; |
|
9632 function_type_suffix = IN_type_symbol; |
9395 break; |
9633 break; |
9396 |
9634 |
9397 } |
9635 } |
9398 |
9636 |
9399 |
9637 |
9467 } |
9705 } |
9468 |
9706 |
9469 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9707 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9470 { |
9708 { |
9471 |
9709 |
|
9710 function_name = (symbol_c*)(new pragma_c("__move_")); |
9472 |
9711 |
9473 if (IN_type_symbol == NULL) |
9712 if (IN_type_symbol == NULL) |
9474 IN_type_symbol = last_type_symbol; |
9713 IN_type_symbol = last_type_symbol; |
9475 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9714 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9476 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
9715 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
9477 function_type_prefix = return_type_symbol; |
9716 function_type_prefix = return_type_symbol; |
|
9717 function_type_suffix = IN_type_symbol; |
9478 break; |
9718 break; |
9479 |
9719 |
9480 } |
9720 } |
9481 |
9721 |
9482 |
9722 |
9508 } |
9748 } |
9509 |
9749 |
9510 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9750 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9511 { |
9751 { |
9512 |
9752 |
|
9753 function_name = (symbol_c*)(new pragma_c("__move_")); |
9513 |
9754 |
9514 if (IN_type_symbol == NULL) |
9755 if (IN_type_symbol == NULL) |
9515 IN_type_symbol = last_type_symbol; |
9756 IN_type_symbol = last_type_symbol; |
9516 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9757 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9517 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
9758 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
9518 function_type_prefix = return_type_symbol; |
9759 function_type_prefix = return_type_symbol; |
|
9760 function_type_suffix = IN_type_symbol; |
9519 break; |
9761 break; |
9520 |
9762 |
9521 } |
9763 } |
9522 |
9764 |
9523 |
9765 |
9549 } |
9791 } |
9550 |
9792 |
9551 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9793 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9552 { |
9794 { |
9553 |
9795 |
|
9796 function_name = (symbol_c*)(new pragma_c("__move_")); |
9554 |
9797 |
9555 if (IN_type_symbol == NULL) |
9798 if (IN_type_symbol == NULL) |
9556 IN_type_symbol = last_type_symbol; |
9799 IN_type_symbol = last_type_symbol; |
9557 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9800 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9558 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
9801 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
9559 function_type_prefix = return_type_symbol; |
9802 function_type_prefix = return_type_symbol; |
|
9803 function_type_suffix = IN_type_symbol; |
9560 break; |
9804 break; |
9561 |
9805 |
9562 } |
9806 } |
9563 |
9807 |
9564 |
9808 |
9590 } |
9834 } |
9591 |
9835 |
9592 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9836 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9593 { |
9837 { |
9594 |
9838 |
|
9839 function_name = (symbol_c*)(new pragma_c("__move_")); |
9595 |
9840 |
9596 if (IN_type_symbol == NULL) |
9841 if (IN_type_symbol == NULL) |
9597 IN_type_symbol = last_type_symbol; |
9842 IN_type_symbol = last_type_symbol; |
9598 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9843 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9599 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
9844 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
9600 function_type_prefix = return_type_symbol; |
9845 function_type_prefix = return_type_symbol; |
|
9846 function_type_suffix = IN_type_symbol; |
9601 break; |
9847 break; |
9602 |
9848 |
9603 } |
9849 } |
9604 |
9850 |
9605 |
9851 |
9631 } |
9877 } |
9632 |
9878 |
9633 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9879 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9634 { |
9880 { |
9635 |
9881 |
|
9882 function_name = (symbol_c*)(new pragma_c("__move_")); |
9636 |
9883 |
9637 if (IN_type_symbol == NULL) |
9884 if (IN_type_symbol == NULL) |
9638 IN_type_symbol = last_type_symbol; |
9885 IN_type_symbol = last_type_symbol; |
9639 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9886 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9640 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
9887 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
9641 function_type_prefix = return_type_symbol; |
9888 function_type_prefix = return_type_symbol; |
|
9889 function_type_suffix = IN_type_symbol; |
9642 break; |
9890 break; |
9643 |
9891 |
9644 } |
9892 } |
9645 |
9893 |
9646 |
9894 |
9672 } |
9920 } |
9673 |
9921 |
9674 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9922 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9675 { |
9923 { |
9676 |
9924 |
|
9925 function_name = (symbol_c*)(new pragma_c("__move_")); |
9677 |
9926 |
9678 if (IN_type_symbol == NULL) |
9927 if (IN_type_symbol == NULL) |
9679 IN_type_symbol = last_type_symbol; |
9928 IN_type_symbol = last_type_symbol; |
9680 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9929 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9681 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
9930 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
9682 function_type_prefix = return_type_symbol; |
9931 function_type_prefix = return_type_symbol; |
|
9932 function_type_suffix = IN_type_symbol; |
9683 break; |
9933 break; |
9684 |
9934 |
9685 } |
9935 } |
9686 |
9936 |
9687 |
9937 |
9755 } |
10005 } |
9756 |
10006 |
9757 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
10007 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::uint_type_name, last_type_symbol)) |
9758 { |
10008 { |
9759 |
10009 |
|
10010 function_name = (symbol_c*)(new pragma_c("__move_")); |
9760 |
10011 |
9761 if (IN_type_symbol == NULL) |
10012 if (IN_type_symbol == NULL) |
9762 IN_type_symbol = last_type_symbol; |
10013 IN_type_symbol = last_type_symbol; |
9763 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10014 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9764 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
10015 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
9765 function_type_prefix = return_type_symbol; |
10016 function_type_prefix = return_type_symbol; |
|
10017 function_type_suffix = IN_type_symbol; |
9766 break; |
10018 break; |
9767 |
10019 |
9768 } |
10020 } |
9769 |
10021 |
9770 |
10022 |
9796 } |
10048 } |
9797 |
10049 |
9798 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10050 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
9799 { |
10051 { |
9800 |
10052 |
|
10053 function_name = (symbol_c*)(new pragma_c("__move_")); |
9801 |
10054 |
9802 if (IN_type_symbol == NULL) |
10055 if (IN_type_symbol == NULL) |
9803 IN_type_symbol = last_type_symbol; |
10056 IN_type_symbol = last_type_symbol; |
9804 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10057 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9805 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
10058 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
9806 function_type_prefix = return_type_symbol; |
10059 function_type_prefix = return_type_symbol; |
|
10060 function_type_suffix = IN_type_symbol; |
9807 break; |
10061 break; |
9808 |
10062 |
9809 } |
10063 } |
9810 |
10064 |
9811 |
10065 |
9837 } |
10091 } |
9838 |
10092 |
9839 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10093 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
9840 { |
10094 { |
9841 |
10095 |
|
10096 function_name = (symbol_c*)(new pragma_c("__move_")); |
9842 |
10097 |
9843 if (IN_type_symbol == NULL) |
10098 if (IN_type_symbol == NULL) |
9844 IN_type_symbol = last_type_symbol; |
10099 IN_type_symbol = last_type_symbol; |
9845 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10100 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9846 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
10101 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
9847 function_type_prefix = return_type_symbol; |
10102 function_type_prefix = return_type_symbol; |
|
10103 function_type_suffix = IN_type_symbol; |
9848 break; |
10104 break; |
9849 |
10105 |
9850 } |
10106 } |
9851 |
10107 |
9852 |
10108 |
9878 } |
10134 } |
9879 |
10135 |
9880 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10136 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
9881 { |
10137 { |
9882 |
10138 |
|
10139 function_name = (symbol_c*)(new pragma_c("__move_")); |
9883 |
10140 |
9884 if (IN_type_symbol == NULL) |
10141 if (IN_type_symbol == NULL) |
9885 IN_type_symbol = last_type_symbol; |
10142 IN_type_symbol = last_type_symbol; |
9886 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10143 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9887 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
10144 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
9888 function_type_prefix = return_type_symbol; |
10145 function_type_prefix = return_type_symbol; |
|
10146 function_type_suffix = IN_type_symbol; |
9889 break; |
10147 break; |
9890 |
10148 |
9891 } |
10149 } |
9892 |
10150 |
9893 |
10151 |
9919 } |
10177 } |
9920 |
10178 |
9921 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10179 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
9922 { |
10180 { |
9923 |
10181 |
|
10182 function_name = (symbol_c*)(new pragma_c("__move_")); |
9924 |
10183 |
9925 if (IN_type_symbol == NULL) |
10184 if (IN_type_symbol == NULL) |
9926 IN_type_symbol = last_type_symbol; |
10185 IN_type_symbol = last_type_symbol; |
9927 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10186 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
9928 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
10187 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
9929 function_type_prefix = return_type_symbol; |
10188 function_type_prefix = return_type_symbol; |
|
10189 function_type_suffix = IN_type_symbol; |
9930 break; |
10190 break; |
9931 |
10191 |
9932 } |
10192 } |
9933 |
10193 |
9934 |
10194 |
10002 } |
10262 } |
10003 |
10263 |
10004 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10264 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10005 { |
10265 { |
10006 |
10266 |
|
10267 function_name = (symbol_c*)(new pragma_c("__move_")); |
10007 |
10268 |
10008 if (IN_type_symbol == NULL) |
10269 if (IN_type_symbol == NULL) |
10009 IN_type_symbol = last_type_symbol; |
10270 IN_type_symbol = last_type_symbol; |
10010 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10271 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10011 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
10272 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
10012 function_type_prefix = return_type_symbol; |
10273 function_type_prefix = return_type_symbol; |
|
10274 function_type_suffix = IN_type_symbol; |
10013 break; |
10275 break; |
10014 |
10276 |
10015 } |
10277 } |
10016 |
10278 |
10017 |
10279 |
10127 } |
10389 } |
10128 |
10390 |
10129 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10391 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10130 { |
10392 { |
10131 |
10393 |
|
10394 function_name = (symbol_c*)(new pragma_c("__move_")); |
10132 |
10395 |
10133 if (IN_type_symbol == NULL) |
10396 if (IN_type_symbol == NULL) |
10134 IN_type_symbol = last_type_symbol; |
10397 IN_type_symbol = last_type_symbol; |
10135 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10398 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10136 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
10399 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
10137 function_type_prefix = return_type_symbol; |
10400 function_type_prefix = return_type_symbol; |
|
10401 function_type_suffix = IN_type_symbol; |
10138 break; |
10402 break; |
10139 |
10403 |
10140 } |
10404 } |
10141 |
10405 |
10142 |
10406 |
10168 } |
10432 } |
10169 |
10433 |
10170 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10434 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10171 { |
10435 { |
10172 |
10436 |
|
10437 function_name = (symbol_c*)(new pragma_c("__move_")); |
10173 |
10438 |
10174 if (IN_type_symbol == NULL) |
10439 if (IN_type_symbol == NULL) |
10175 IN_type_symbol = last_type_symbol; |
10440 IN_type_symbol = last_type_symbol; |
10176 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10441 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10177 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
10442 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
10178 function_type_prefix = return_type_symbol; |
10443 function_type_prefix = return_type_symbol; |
|
10444 function_type_suffix = IN_type_symbol; |
10179 break; |
10445 break; |
10180 |
10446 |
10181 } |
10447 } |
10182 |
10448 |
10183 |
10449 |
10251 } |
10517 } |
10252 |
10518 |
10253 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10519 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10254 { |
10520 { |
10255 |
10521 |
|
10522 function_name = (symbol_c*)(new pragma_c("__move_")); |
10256 |
10523 |
10257 if (IN_type_symbol == NULL) |
10524 if (IN_type_symbol == NULL) |
10258 IN_type_symbol = last_type_symbol; |
10525 IN_type_symbol = last_type_symbol; |
10259 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10526 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10260 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
10527 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
10261 function_type_prefix = return_type_symbol; |
10528 function_type_prefix = return_type_symbol; |
|
10529 function_type_suffix = IN_type_symbol; |
10262 break; |
10530 break; |
10263 |
10531 |
10264 } |
10532 } |
10265 |
10533 |
10266 |
10534 |
10292 } |
10560 } |
10293 |
10561 |
10294 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10562 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10295 { |
10563 { |
10296 |
10564 |
|
10565 function_name = (symbol_c*)(new pragma_c("__move_")); |
10297 |
10566 |
10298 if (IN_type_symbol == NULL) |
10567 if (IN_type_symbol == NULL) |
10299 IN_type_symbol = last_type_symbol; |
10568 IN_type_symbol = last_type_symbol; |
10300 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10569 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10301 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
10570 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
10302 function_type_prefix = return_type_symbol; |
10571 function_type_prefix = return_type_symbol; |
|
10572 function_type_suffix = IN_type_symbol; |
10303 break; |
10573 break; |
10304 |
10574 |
10305 } |
10575 } |
10306 |
10576 |
10307 |
10577 |
10333 } |
10603 } |
10334 |
10604 |
10335 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10605 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10336 { |
10606 { |
10337 |
10607 |
|
10608 function_name = (symbol_c*)(new pragma_c("__move_")); |
10338 |
10609 |
10339 if (IN_type_symbol == NULL) |
10610 if (IN_type_symbol == NULL) |
10340 IN_type_symbol = last_type_symbol; |
10611 IN_type_symbol = last_type_symbol; |
10341 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10612 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10342 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
10613 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
10343 function_type_prefix = return_type_symbol; |
10614 function_type_prefix = return_type_symbol; |
|
10615 function_type_suffix = IN_type_symbol; |
10344 break; |
10616 break; |
10345 |
10617 |
10346 } |
10618 } |
10347 |
10619 |
10348 |
10620 |
10374 } |
10646 } |
10375 |
10647 |
10376 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10648 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10377 { |
10649 { |
10378 |
10650 |
|
10651 function_name = (symbol_c*)(new pragma_c("__move_")); |
10379 |
10652 |
10380 if (IN_type_symbol == NULL) |
10653 if (IN_type_symbol == NULL) |
10381 IN_type_symbol = last_type_symbol; |
10654 IN_type_symbol = last_type_symbol; |
10382 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10655 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10383 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
10656 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
10384 function_type_prefix = return_type_symbol; |
10657 function_type_prefix = return_type_symbol; |
|
10658 function_type_suffix = IN_type_symbol; |
10385 break; |
10659 break; |
10386 |
10660 |
10387 } |
10661 } |
10388 |
10662 |
10389 |
10663 |
10415 } |
10689 } |
10416 |
10690 |
10417 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10691 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10418 { |
10692 { |
10419 |
10693 |
|
10694 function_name = (symbol_c*)(new pragma_c("__move_")); |
10420 |
10695 |
10421 if (IN_type_symbol == NULL) |
10696 if (IN_type_symbol == NULL) |
10422 IN_type_symbol = last_type_symbol; |
10697 IN_type_symbol = last_type_symbol; |
10423 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10698 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10424 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
10699 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
10425 function_type_prefix = return_type_symbol; |
10700 function_type_prefix = return_type_symbol; |
|
10701 function_type_suffix = IN_type_symbol; |
10426 break; |
10702 break; |
10427 |
10703 |
10428 } |
10704 } |
10429 |
10705 |
10430 |
10706 |
10456 } |
10732 } |
10457 |
10733 |
10458 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10734 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10459 { |
10735 { |
10460 |
10736 |
|
10737 function_name = (symbol_c*)(new pragma_c("__move_")); |
10461 |
10738 |
10462 if (IN_type_symbol == NULL) |
10739 if (IN_type_symbol == NULL) |
10463 IN_type_symbol = last_type_symbol; |
10740 IN_type_symbol = last_type_symbol; |
10464 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10741 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10465 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
10742 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
10466 function_type_prefix = return_type_symbol; |
10743 function_type_prefix = return_type_symbol; |
|
10744 function_type_suffix = IN_type_symbol; |
10467 break; |
10745 break; |
10468 |
10746 |
10469 } |
10747 } |
10470 |
10748 |
10471 |
10749 |
10539 } |
10817 } |
10540 |
10818 |
10541 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10819 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::lreal_type_name, last_type_symbol)) |
10542 { |
10820 { |
10543 |
10821 |
|
10822 function_name = (symbol_c*)(new pragma_c("__move_")); |
10544 |
10823 |
10545 if (IN_type_symbol == NULL) |
10824 if (IN_type_symbol == NULL) |
10546 IN_type_symbol = last_type_symbol; |
10825 IN_type_symbol = last_type_symbol; |
10547 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10826 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10548 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
10827 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
10549 function_type_prefix = return_type_symbol; |
10828 function_type_prefix = return_type_symbol; |
|
10829 function_type_suffix = IN_type_symbol; |
10550 break; |
10830 break; |
10551 |
10831 |
10552 } |
10832 } |
10553 |
10833 |
10554 |
10834 |
10580 } |
10860 } |
10581 |
10861 |
10582 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10862 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10583 { |
10863 { |
10584 |
10864 |
|
10865 function_name = (symbol_c*)(new pragma_c("__move_")); |
10585 |
10866 |
10586 if (IN_type_symbol == NULL) |
10867 if (IN_type_symbol == NULL) |
10587 IN_type_symbol = last_type_symbol; |
10868 IN_type_symbol = last_type_symbol; |
10588 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10869 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10589 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
10870 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
10590 function_type_prefix = return_type_symbol; |
10871 function_type_prefix = return_type_symbol; |
|
10872 function_type_suffix = IN_type_symbol; |
10591 break; |
10873 break; |
10592 |
10874 |
10593 } |
10875 } |
10594 |
10876 |
10595 |
10877 |
10621 } |
10903 } |
10622 |
10904 |
10623 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10905 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10624 { |
10906 { |
10625 |
10907 |
|
10908 function_name = (symbol_c*)(new pragma_c("__move_")); |
10626 |
10909 |
10627 if (IN_type_symbol == NULL) |
10910 if (IN_type_symbol == NULL) |
10628 IN_type_symbol = last_type_symbol; |
10911 IN_type_symbol = last_type_symbol; |
10629 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10912 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10630 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
10913 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
10631 function_type_prefix = return_type_symbol; |
10914 function_type_prefix = return_type_symbol; |
|
10915 function_type_suffix = IN_type_symbol; |
10632 break; |
10916 break; |
10633 |
10917 |
10634 } |
10918 } |
10635 |
10919 |
10636 |
10920 |
10662 } |
10946 } |
10663 |
10947 |
10664 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10948 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10665 { |
10949 { |
10666 |
10950 |
|
10951 function_name = (symbol_c*)(new pragma_c("__move_")); |
10667 |
10952 |
10668 if (IN_type_symbol == NULL) |
10953 if (IN_type_symbol == NULL) |
10669 IN_type_symbol = last_type_symbol; |
10954 IN_type_symbol = last_type_symbol; |
10670 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10955 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10671 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
10956 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
10672 function_type_prefix = return_type_symbol; |
10957 function_type_prefix = return_type_symbol; |
|
10958 function_type_suffix = IN_type_symbol; |
10673 break; |
10959 break; |
10674 |
10960 |
10675 } |
10961 } |
10676 |
10962 |
10677 |
10963 |
10703 } |
10989 } |
10704 |
10990 |
10705 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10991 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10706 { |
10992 { |
10707 |
10993 |
|
10994 function_name = (symbol_c*)(new pragma_c("__move_")); |
10708 |
10995 |
10709 if (IN_type_symbol == NULL) |
10996 if (IN_type_symbol == NULL) |
10710 IN_type_symbol = last_type_symbol; |
10997 IN_type_symbol = last_type_symbol; |
10711 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10998 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10712 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
10999 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
10713 function_type_prefix = return_type_symbol; |
11000 function_type_prefix = return_type_symbol; |
|
11001 function_type_suffix = IN_type_symbol; |
10714 break; |
11002 break; |
10715 |
11003 |
10716 } |
11004 } |
10717 |
11005 |
10718 |
11006 |
10786 } |
11074 } |
10787 |
11075 |
10788 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11076 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10789 { |
11077 { |
10790 |
11078 |
|
11079 function_name = (symbol_c*)(new pragma_c("__move_")); |
10791 |
11080 |
10792 if (IN_type_symbol == NULL) |
11081 if (IN_type_symbol == NULL) |
10793 IN_type_symbol = last_type_symbol; |
11082 IN_type_symbol = last_type_symbol; |
10794 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11083 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10795 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
11084 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
10796 function_type_prefix = return_type_symbol; |
11085 function_type_prefix = return_type_symbol; |
|
11086 function_type_suffix = IN_type_symbol; |
10797 break; |
11087 break; |
10798 |
11088 |
10799 } |
11089 } |
10800 |
11090 |
10801 |
11091 |
10911 } |
11201 } |
10912 |
11202 |
10913 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11203 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10914 { |
11204 { |
10915 |
11205 |
|
11206 function_name = (symbol_c*)(new pragma_c("__move_")); |
10916 |
11207 |
10917 if (IN_type_symbol == NULL) |
11208 if (IN_type_symbol == NULL) |
10918 IN_type_symbol = last_type_symbol; |
11209 IN_type_symbol = last_type_symbol; |
10919 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11210 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10920 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
11211 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
10921 function_type_prefix = return_type_symbol; |
11212 function_type_prefix = return_type_symbol; |
|
11213 function_type_suffix = IN_type_symbol; |
10922 break; |
11214 break; |
10923 |
11215 |
10924 } |
11216 } |
10925 |
11217 |
10926 |
11218 |
10952 } |
11244 } |
10953 |
11245 |
10954 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11246 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
10955 { |
11247 { |
10956 |
11248 |
|
11249 function_name = (symbol_c*)(new pragma_c("__move_")); |
10957 |
11250 |
10958 if (IN_type_symbol == NULL) |
11251 if (IN_type_symbol == NULL) |
10959 IN_type_symbol = last_type_symbol; |
11252 IN_type_symbol = last_type_symbol; |
10960 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11253 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
10961 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
11254 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
10962 function_type_prefix = return_type_symbol; |
11255 function_type_prefix = return_type_symbol; |
|
11256 function_type_suffix = IN_type_symbol; |
10963 break; |
11257 break; |
10964 |
11258 |
10965 } |
11259 } |
10966 |
11260 |
10967 |
11261 |
11035 } |
11329 } |
11036 |
11330 |
11037 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11331 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11038 { |
11332 { |
11039 |
11333 |
|
11334 function_name = (symbol_c*)(new pragma_c("__move_")); |
11040 |
11335 |
11041 if (IN_type_symbol == NULL) |
11336 if (IN_type_symbol == NULL) |
11042 IN_type_symbol = last_type_symbol; |
11337 IN_type_symbol = last_type_symbol; |
11043 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11338 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11044 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
11339 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
11045 function_type_prefix = return_type_symbol; |
11340 function_type_prefix = return_type_symbol; |
|
11341 function_type_suffix = IN_type_symbol; |
11046 break; |
11342 break; |
11047 |
11343 |
11048 } |
11344 } |
11049 |
11345 |
11050 |
11346 |
11076 } |
11372 } |
11077 |
11373 |
11078 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11374 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11079 { |
11375 { |
11080 |
11376 |
|
11377 function_name = (symbol_c*)(new pragma_c("__move_")); |
11081 |
11378 |
11082 if (IN_type_symbol == NULL) |
11379 if (IN_type_symbol == NULL) |
11083 IN_type_symbol = last_type_symbol; |
11380 IN_type_symbol = last_type_symbol; |
11084 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11381 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11085 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
11382 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
11086 function_type_prefix = return_type_symbol; |
11383 function_type_prefix = return_type_symbol; |
|
11384 function_type_suffix = IN_type_symbol; |
11087 break; |
11385 break; |
11088 |
11386 |
11089 } |
11387 } |
11090 |
11388 |
11091 |
11389 |
11117 } |
11415 } |
11118 |
11416 |
11119 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11417 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11120 { |
11418 { |
11121 |
11419 |
|
11420 function_name = (symbol_c*)(new pragma_c("__move_")); |
11122 |
11421 |
11123 if (IN_type_symbol == NULL) |
11422 if (IN_type_symbol == NULL) |
11124 IN_type_symbol = last_type_symbol; |
11423 IN_type_symbol = last_type_symbol; |
11125 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11424 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11126 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
11425 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
11127 function_type_prefix = return_type_symbol; |
11426 function_type_prefix = return_type_symbol; |
|
11427 function_type_suffix = IN_type_symbol; |
11128 break; |
11428 break; |
11129 |
11429 |
11130 } |
11430 } |
11131 |
11431 |
11132 |
11432 |
11158 } |
11458 } |
11159 |
11459 |
11160 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11460 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11161 { |
11461 { |
11162 |
11462 |
|
11463 function_name = (symbol_c*)(new pragma_c("__move_")); |
11163 |
11464 |
11164 if (IN_type_symbol == NULL) |
11465 if (IN_type_symbol == NULL) |
11165 IN_type_symbol = last_type_symbol; |
11466 IN_type_symbol = last_type_symbol; |
11166 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11467 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11167 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
11468 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
11168 function_type_prefix = return_type_symbol; |
11469 function_type_prefix = return_type_symbol; |
|
11470 function_type_suffix = IN_type_symbol; |
11169 break; |
11471 break; |
11170 |
11472 |
11171 } |
11473 } |
11172 |
11474 |
11173 |
11475 |
11199 } |
11501 } |
11200 |
11502 |
11201 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11503 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11202 { |
11504 { |
11203 |
11505 |
|
11506 function_name = (symbol_c*)(new pragma_c("__move_")); |
11204 |
11507 |
11205 if (IN_type_symbol == NULL) |
11508 if (IN_type_symbol == NULL) |
11206 IN_type_symbol = last_type_symbol; |
11509 IN_type_symbol = last_type_symbol; |
11207 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11510 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11208 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
11511 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
11209 function_type_prefix = return_type_symbol; |
11512 function_type_prefix = return_type_symbol; |
|
11513 function_type_suffix = IN_type_symbol; |
11210 break; |
11514 break; |
11211 |
11515 |
11212 } |
11516 } |
11213 |
11517 |
11214 |
11518 |
11240 } |
11544 } |
11241 |
11545 |
11242 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11546 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11243 { |
11547 { |
11244 |
11548 |
|
11549 function_name = (symbol_c*)(new pragma_c("__move_")); |
11245 |
11550 |
11246 if (IN_type_symbol == NULL) |
11551 if (IN_type_symbol == NULL) |
11247 IN_type_symbol = last_type_symbol; |
11552 IN_type_symbol = last_type_symbol; |
11248 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11553 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11249 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
11554 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
11250 function_type_prefix = return_type_symbol; |
11555 function_type_prefix = return_type_symbol; |
|
11556 function_type_suffix = IN_type_symbol; |
11251 break; |
11557 break; |
11252 |
11558 |
11253 } |
11559 } |
11254 |
11560 |
11255 |
11561 |
11323 } |
11629 } |
11324 |
11630 |
11325 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11631 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::byte_type_name, last_type_symbol)) |
11326 { |
11632 { |
11327 |
11633 |
|
11634 function_name = (symbol_c*)(new pragma_c("__move_")); |
11328 |
11635 |
11329 if (IN_type_symbol == NULL) |
11636 if (IN_type_symbol == NULL) |
11330 IN_type_symbol = last_type_symbol; |
11637 IN_type_symbol = last_type_symbol; |
11331 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11638 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11332 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
11639 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
11333 function_type_prefix = return_type_symbol; |
11640 function_type_prefix = return_type_symbol; |
|
11641 function_type_suffix = IN_type_symbol; |
11334 break; |
11642 break; |
11335 |
11643 |
11336 } |
11644 } |
11337 |
11645 |
11338 |
11646 |
11364 } |
11672 } |
11365 |
11673 |
11366 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11674 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11367 { |
11675 { |
11368 |
11676 |
|
11677 function_name = (symbol_c*)(new pragma_c("__move_")); |
11369 |
11678 |
11370 if (IN_type_symbol == NULL) |
11679 if (IN_type_symbol == NULL) |
11371 IN_type_symbol = last_type_symbol; |
11680 IN_type_symbol = last_type_symbol; |
11372 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11681 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11373 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
11682 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
11374 function_type_prefix = return_type_symbol; |
11683 function_type_prefix = return_type_symbol; |
|
11684 function_type_suffix = IN_type_symbol; |
11375 break; |
11685 break; |
11376 |
11686 |
11377 } |
11687 } |
11378 |
11688 |
11379 |
11689 |
11405 } |
11715 } |
11406 |
11716 |
11407 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11717 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11408 { |
11718 { |
11409 |
11719 |
|
11720 function_name = (symbol_c*)(new pragma_c("__move_")); |
11410 |
11721 |
11411 if (IN_type_symbol == NULL) |
11722 if (IN_type_symbol == NULL) |
11412 IN_type_symbol = last_type_symbol; |
11723 IN_type_symbol = last_type_symbol; |
11413 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11724 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11414 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
11725 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
11415 function_type_prefix = return_type_symbol; |
11726 function_type_prefix = return_type_symbol; |
|
11727 function_type_suffix = IN_type_symbol; |
11416 break; |
11728 break; |
11417 |
11729 |
11418 } |
11730 } |
11419 |
11731 |
11420 |
11732 |
11446 } |
11758 } |
11447 |
11759 |
11448 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11760 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11449 { |
11761 { |
11450 |
11762 |
|
11763 function_name = (symbol_c*)(new pragma_c("__move_")); |
11451 |
11764 |
11452 if (IN_type_symbol == NULL) |
11765 if (IN_type_symbol == NULL) |
11453 IN_type_symbol = last_type_symbol; |
11766 IN_type_symbol = last_type_symbol; |
11454 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11767 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11455 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
11768 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
11456 function_type_prefix = return_type_symbol; |
11769 function_type_prefix = return_type_symbol; |
|
11770 function_type_suffix = IN_type_symbol; |
11457 break; |
11771 break; |
11458 |
11772 |
11459 } |
11773 } |
11460 |
11774 |
11461 |
11775 |
11487 } |
11801 } |
11488 |
11802 |
11489 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11803 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11490 { |
11804 { |
11491 |
11805 |
|
11806 function_name = (symbol_c*)(new pragma_c("__move_")); |
11492 |
11807 |
11493 if (IN_type_symbol == NULL) |
11808 if (IN_type_symbol == NULL) |
11494 IN_type_symbol = last_type_symbol; |
11809 IN_type_symbol = last_type_symbol; |
11495 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11810 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11496 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
11811 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
11497 function_type_prefix = return_type_symbol; |
11812 function_type_prefix = return_type_symbol; |
|
11813 function_type_suffix = IN_type_symbol; |
11498 break; |
11814 break; |
11499 |
11815 |
11500 } |
11816 } |
11501 |
11817 |
11502 |
11818 |
11570 } |
11886 } |
11571 |
11887 |
11572 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11888 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11573 { |
11889 { |
11574 |
11890 |
|
11891 function_name = (symbol_c*)(new pragma_c("__move_")); |
11575 |
11892 |
11576 if (IN_type_symbol == NULL) |
11893 if (IN_type_symbol == NULL) |
11577 IN_type_symbol = last_type_symbol; |
11894 IN_type_symbol = last_type_symbol; |
11578 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11895 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11579 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
11896 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
11580 function_type_prefix = return_type_symbol; |
11897 function_type_prefix = return_type_symbol; |
|
11898 function_type_suffix = IN_type_symbol; |
11581 break; |
11899 break; |
11582 |
11900 |
11583 } |
11901 } |
11584 |
11902 |
11585 |
11903 |
11695 } |
12013 } |
11696 |
12014 |
11697 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12015 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11698 { |
12016 { |
11699 |
12017 |
|
12018 function_name = (symbol_c*)(new pragma_c("__move_")); |
11700 |
12019 |
11701 if (IN_type_symbol == NULL) |
12020 if (IN_type_symbol == NULL) |
11702 IN_type_symbol = last_type_symbol; |
12021 IN_type_symbol = last_type_symbol; |
11703 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12022 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11704 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
12023 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
11705 function_type_prefix = return_type_symbol; |
12024 function_type_prefix = return_type_symbol; |
|
12025 function_type_suffix = IN_type_symbol; |
11706 break; |
12026 break; |
11707 |
12027 |
11708 } |
12028 } |
11709 |
12029 |
11710 |
12030 |
11736 } |
12056 } |
11737 |
12057 |
11738 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12058 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11739 { |
12059 { |
11740 |
12060 |
|
12061 function_name = (symbol_c*)(new pragma_c("__move_")); |
11741 |
12062 |
11742 if (IN_type_symbol == NULL) |
12063 if (IN_type_symbol == NULL) |
11743 IN_type_symbol = last_type_symbol; |
12064 IN_type_symbol = last_type_symbol; |
11744 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12065 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11745 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
12066 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
11746 function_type_prefix = return_type_symbol; |
12067 function_type_prefix = return_type_symbol; |
|
12068 function_type_suffix = IN_type_symbol; |
11747 break; |
12069 break; |
11748 |
12070 |
11749 } |
12071 } |
11750 |
12072 |
11751 |
12073 |
11819 } |
12141 } |
11820 |
12142 |
11821 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12143 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11822 { |
12144 { |
11823 |
12145 |
|
12146 function_name = (symbol_c*)(new pragma_c("__move_")); |
11824 |
12147 |
11825 if (IN_type_symbol == NULL) |
12148 if (IN_type_symbol == NULL) |
11826 IN_type_symbol = last_type_symbol; |
12149 IN_type_symbol = last_type_symbol; |
11827 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12150 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11828 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
12151 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
11829 function_type_prefix = return_type_symbol; |
12152 function_type_prefix = return_type_symbol; |
|
12153 function_type_suffix = IN_type_symbol; |
11830 break; |
12154 break; |
11831 |
12155 |
11832 } |
12156 } |
11833 |
12157 |
11834 |
12158 |
11860 } |
12184 } |
11861 |
12185 |
11862 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12186 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11863 { |
12187 { |
11864 |
12188 |
|
12189 function_name = (symbol_c*)(new pragma_c("__move_")); |
11865 |
12190 |
11866 if (IN_type_symbol == NULL) |
12191 if (IN_type_symbol == NULL) |
11867 IN_type_symbol = last_type_symbol; |
12192 IN_type_symbol = last_type_symbol; |
11868 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12193 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11869 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
12194 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
11870 function_type_prefix = return_type_symbol; |
12195 function_type_prefix = return_type_symbol; |
|
12196 function_type_suffix = IN_type_symbol; |
11871 break; |
12197 break; |
11872 |
12198 |
11873 } |
12199 } |
11874 |
12200 |
11875 |
12201 |
11901 } |
12227 } |
11902 |
12228 |
11903 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12229 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11904 { |
12230 { |
11905 |
12231 |
|
12232 function_name = (symbol_c*)(new pragma_c("__move_")); |
11906 |
12233 |
11907 if (IN_type_symbol == NULL) |
12234 if (IN_type_symbol == NULL) |
11908 IN_type_symbol = last_type_symbol; |
12235 IN_type_symbol = last_type_symbol; |
11909 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12236 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11910 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
12237 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
11911 function_type_prefix = return_type_symbol; |
12238 function_type_prefix = return_type_symbol; |
|
12239 function_type_suffix = IN_type_symbol; |
11912 break; |
12240 break; |
11913 |
12241 |
11914 } |
12242 } |
11915 |
12243 |
11916 |
12244 |
11942 } |
12270 } |
11943 |
12271 |
11944 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12272 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11945 { |
12273 { |
11946 |
12274 |
|
12275 function_name = (symbol_c*)(new pragma_c("__move_")); |
11947 |
12276 |
11948 if (IN_type_symbol == NULL) |
12277 if (IN_type_symbol == NULL) |
11949 IN_type_symbol = last_type_symbol; |
12278 IN_type_symbol = last_type_symbol; |
11950 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12279 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11951 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
12280 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
11952 function_type_prefix = return_type_symbol; |
12281 function_type_prefix = return_type_symbol; |
|
12282 function_type_suffix = IN_type_symbol; |
11953 break; |
12283 break; |
11954 |
12284 |
11955 } |
12285 } |
11956 |
12286 |
11957 |
12287 |
11983 } |
12313 } |
11984 |
12314 |
11985 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12315 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
11986 { |
12316 { |
11987 |
12317 |
|
12318 function_name = (symbol_c*)(new pragma_c("__move_")); |
11988 |
12319 |
11989 if (IN_type_symbol == NULL) |
12320 if (IN_type_symbol == NULL) |
11990 IN_type_symbol = last_type_symbol; |
12321 IN_type_symbol = last_type_symbol; |
11991 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12322 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
11992 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
12323 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
11993 function_type_prefix = return_type_symbol; |
12324 function_type_prefix = return_type_symbol; |
|
12325 function_type_suffix = IN_type_symbol; |
11994 break; |
12326 break; |
11995 |
12327 |
11996 } |
12328 } |
11997 |
12329 |
11998 |
12330 |
12024 } |
12356 } |
12025 |
12357 |
12026 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12358 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12027 { |
12359 { |
12028 |
12360 |
|
12361 function_name = (symbol_c*)(new pragma_c("__move_")); |
12029 |
12362 |
12030 if (IN_type_symbol == NULL) |
12363 if (IN_type_symbol == NULL) |
12031 IN_type_symbol = last_type_symbol; |
12364 IN_type_symbol = last_type_symbol; |
12032 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12365 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12033 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
12366 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
12034 function_type_prefix = return_type_symbol; |
12367 function_type_prefix = return_type_symbol; |
|
12368 function_type_suffix = IN_type_symbol; |
12035 break; |
12369 break; |
12036 |
12370 |
12037 } |
12371 } |
12038 |
12372 |
12039 |
12373 |
12107 } |
12441 } |
12108 |
12442 |
12109 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12443 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::usint_type_name, last_type_symbol)) |
12110 { |
12444 { |
12111 |
12445 |
|
12446 function_name = (symbol_c*)(new pragma_c("__move_")); |
12112 |
12447 |
12113 if (IN_type_symbol == NULL) |
12448 if (IN_type_symbol == NULL) |
12114 IN_type_symbol = last_type_symbol; |
12449 IN_type_symbol = last_type_symbol; |
12115 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12450 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12116 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
12451 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
12117 function_type_prefix = return_type_symbol; |
12452 function_type_prefix = return_type_symbol; |
|
12453 function_type_suffix = IN_type_symbol; |
12118 break; |
12454 break; |
12119 |
12455 |
12120 } |
12456 } |
12121 |
12457 |
12122 |
12458 |
12148 } |
12484 } |
12149 |
12485 |
12150 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12486 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12151 { |
12487 { |
12152 |
12488 |
|
12489 function_name = (symbol_c*)(new pragma_c("__move_")); |
12153 |
12490 |
12154 if (IN_type_symbol == NULL) |
12491 if (IN_type_symbol == NULL) |
12155 IN_type_symbol = last_type_symbol; |
12492 IN_type_symbol = last_type_symbol; |
12156 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12493 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12157 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
12494 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
12158 function_type_prefix = return_type_symbol; |
12495 function_type_prefix = return_type_symbol; |
|
12496 function_type_suffix = IN_type_symbol; |
12159 break; |
12497 break; |
12160 |
12498 |
12161 } |
12499 } |
12162 |
12500 |
12163 |
12501 |
12189 } |
12527 } |
12190 |
12528 |
12191 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12529 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12192 { |
12530 { |
12193 |
12531 |
|
12532 function_name = (symbol_c*)(new pragma_c("__move_")); |
12194 |
12533 |
12195 if (IN_type_symbol == NULL) |
12534 if (IN_type_symbol == NULL) |
12196 IN_type_symbol = last_type_symbol; |
12535 IN_type_symbol = last_type_symbol; |
12197 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12536 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12198 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
12537 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
12199 function_type_prefix = return_type_symbol; |
12538 function_type_prefix = return_type_symbol; |
|
12539 function_type_suffix = IN_type_symbol; |
12200 break; |
12540 break; |
12201 |
12541 |
12202 } |
12542 } |
12203 |
12543 |
12204 |
12544 |
12230 } |
12570 } |
12231 |
12571 |
12232 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12572 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12233 { |
12573 { |
12234 |
12574 |
|
12575 function_name = (symbol_c*)(new pragma_c("__move_")); |
12235 |
12576 |
12236 if (IN_type_symbol == NULL) |
12577 if (IN_type_symbol == NULL) |
12237 IN_type_symbol = last_type_symbol; |
12578 IN_type_symbol = last_type_symbol; |
12238 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12579 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12239 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
12580 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
12240 function_type_prefix = return_type_symbol; |
12581 function_type_prefix = return_type_symbol; |
|
12582 function_type_suffix = IN_type_symbol; |
12241 break; |
12583 break; |
12242 |
12584 |
12243 } |
12585 } |
12244 |
12586 |
12245 |
12587 |
12271 } |
12613 } |
12272 |
12614 |
12273 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12615 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12274 { |
12616 { |
12275 |
12617 |
|
12618 function_name = (symbol_c*)(new pragma_c("__move_")); |
12276 |
12619 |
12277 if (IN_type_symbol == NULL) |
12620 if (IN_type_symbol == NULL) |
12278 IN_type_symbol = last_type_symbol; |
12621 IN_type_symbol = last_type_symbol; |
12279 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12622 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12280 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
12623 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
12281 function_type_prefix = return_type_symbol; |
12624 function_type_prefix = return_type_symbol; |
|
12625 function_type_suffix = IN_type_symbol; |
12282 break; |
12626 break; |
12283 |
12627 |
12284 } |
12628 } |
12285 |
12629 |
12286 |
12630 |
12354 } |
12698 } |
12355 |
12699 |
12356 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12700 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12357 { |
12701 { |
12358 |
12702 |
|
12703 function_name = (symbol_c*)(new pragma_c("__move_")); |
12359 |
12704 |
12360 if (IN_type_symbol == NULL) |
12705 if (IN_type_symbol == NULL) |
12361 IN_type_symbol = last_type_symbol; |
12706 IN_type_symbol = last_type_symbol; |
12362 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12707 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12363 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
12708 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
12364 function_type_prefix = return_type_symbol; |
12709 function_type_prefix = return_type_symbol; |
|
12710 function_type_suffix = IN_type_symbol; |
12365 break; |
12711 break; |
12366 |
12712 |
12367 } |
12713 } |
12368 |
12714 |
12369 |
12715 |
12479 } |
12825 } |
12480 |
12826 |
12481 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12827 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12482 { |
12828 { |
12483 |
12829 |
|
12830 function_name = (symbol_c*)(new pragma_c("__move_")); |
12484 |
12831 |
12485 if (IN_type_symbol == NULL) |
12832 if (IN_type_symbol == NULL) |
12486 IN_type_symbol = last_type_symbol; |
12833 IN_type_symbol = last_type_symbol; |
12487 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12834 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12488 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
12835 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
12489 function_type_prefix = return_type_symbol; |
12836 function_type_prefix = return_type_symbol; |
|
12837 function_type_suffix = IN_type_symbol; |
12490 break; |
12838 break; |
12491 |
12839 |
12492 } |
12840 } |
12493 |
12841 |
12494 |
12842 |
12520 } |
12868 } |
12521 |
12869 |
12522 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12870 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12523 { |
12871 { |
12524 |
12872 |
|
12873 function_name = (symbol_c*)(new pragma_c("__move_")); |
12525 |
12874 |
12526 if (IN_type_symbol == NULL) |
12875 if (IN_type_symbol == NULL) |
12527 IN_type_symbol = last_type_symbol; |
12876 IN_type_symbol = last_type_symbol; |
12528 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12877 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12529 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
12878 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
12530 function_type_prefix = return_type_symbol; |
12879 function_type_prefix = return_type_symbol; |
|
12880 function_type_suffix = IN_type_symbol; |
12531 break; |
12881 break; |
12532 |
12882 |
12533 } |
12883 } |
12534 |
12884 |
12535 |
12885 |
12603 } |
12953 } |
12604 |
12954 |
12605 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12955 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12606 { |
12956 { |
12607 |
12957 |
|
12958 function_name = (symbol_c*)(new pragma_c("__move_")); |
12608 |
12959 |
12609 if (IN_type_symbol == NULL) |
12960 if (IN_type_symbol == NULL) |
12610 IN_type_symbol = last_type_symbol; |
12961 IN_type_symbol = last_type_symbol; |
12611 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12962 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12612 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
12963 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
12613 function_type_prefix = return_type_symbol; |
12964 function_type_prefix = return_type_symbol; |
|
12965 function_type_suffix = IN_type_symbol; |
12614 break; |
12966 break; |
12615 |
12967 |
12616 } |
12968 } |
12617 |
12969 |
12618 |
12970 |
12644 } |
12996 } |
12645 |
12997 |
12646 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12998 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12647 { |
12999 { |
12648 |
13000 |
|
13001 function_name = (symbol_c*)(new pragma_c("__move_")); |
12649 |
13002 |
12650 if (IN_type_symbol == NULL) |
13003 if (IN_type_symbol == NULL) |
12651 IN_type_symbol = last_type_symbol; |
13004 IN_type_symbol = last_type_symbol; |
12652 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13005 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12653 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
13006 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
12654 function_type_prefix = return_type_symbol; |
13007 function_type_prefix = return_type_symbol; |
|
13008 function_type_suffix = IN_type_symbol; |
12655 break; |
13009 break; |
12656 |
13010 |
12657 } |
13011 } |
12658 |
13012 |
12659 |
13013 |
12685 } |
13039 } |
12686 |
13040 |
12687 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
13041 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12688 { |
13042 { |
12689 |
13043 |
|
13044 function_name = (symbol_c*)(new pragma_c("__move_")); |
12690 |
13045 |
12691 if (IN_type_symbol == NULL) |
13046 if (IN_type_symbol == NULL) |
12692 IN_type_symbol = last_type_symbol; |
13047 IN_type_symbol = last_type_symbol; |
12693 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13048 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12694 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
13049 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
12695 function_type_prefix = return_type_symbol; |
13050 function_type_prefix = return_type_symbol; |
|
13051 function_type_suffix = IN_type_symbol; |
12696 break; |
13052 break; |
12697 |
13053 |
12698 } |
13054 } |
12699 |
13055 |
12700 |
13056 |
12726 } |
13082 } |
12727 |
13083 |
12728 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
13084 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12729 { |
13085 { |
12730 |
13086 |
|
13087 function_name = (symbol_c*)(new pragma_c("__move_")); |
12731 |
13088 |
12732 if (IN_type_symbol == NULL) |
13089 if (IN_type_symbol == NULL) |
12733 IN_type_symbol = last_type_symbol; |
13090 IN_type_symbol = last_type_symbol; |
12734 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13091 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12735 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
13092 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
12736 function_type_prefix = return_type_symbol; |
13093 function_type_prefix = return_type_symbol; |
|
13094 function_type_suffix = IN_type_symbol; |
12737 break; |
13095 break; |
12738 |
13096 |
12739 } |
13097 } |
12740 |
13098 |
12741 |
13099 |
12767 } |
13125 } |
12768 |
13126 |
12769 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
13127 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12770 { |
13128 { |
12771 |
13129 |
|
13130 function_name = (symbol_c*)(new pragma_c("__move_")); |
12772 |
13131 |
12773 if (IN_type_symbol == NULL) |
13132 if (IN_type_symbol == NULL) |
12774 IN_type_symbol = last_type_symbol; |
13133 IN_type_symbol = last_type_symbol; |
12775 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13134 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12776 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
13135 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
12777 function_type_prefix = return_type_symbol; |
13136 function_type_prefix = return_type_symbol; |
|
13137 function_type_suffix = IN_type_symbol; |
12778 break; |
13138 break; |
12779 |
13139 |
12780 } |
13140 } |
12781 |
13141 |
12782 |
13142 |
12808 } |
13168 } |
12809 |
13169 |
12810 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
13170 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12811 { |
13171 { |
12812 |
13172 |
|
13173 function_name = (symbol_c*)(new pragma_c("__move_")); |
12813 |
13174 |
12814 if (IN_type_symbol == NULL) |
13175 if (IN_type_symbol == NULL) |
12815 IN_type_symbol = last_type_symbol; |
13176 IN_type_symbol = last_type_symbol; |
12816 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13177 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12817 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
13178 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
12818 function_type_prefix = return_type_symbol; |
13179 function_type_prefix = return_type_symbol; |
|
13180 function_type_suffix = IN_type_symbol; |
12819 break; |
13181 break; |
12820 |
13182 |
12821 } |
13183 } |
12822 |
13184 |
12823 |
13185 |
12891 } |
13253 } |
12892 |
13254 |
12893 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
13255 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::ulint_type_name, last_type_symbol)) |
12894 { |
13256 { |
12895 |
13257 |
|
13258 function_name = (symbol_c*)(new pragma_c("__move_")); |
12896 |
13259 |
12897 if (IN_type_symbol == NULL) |
13260 if (IN_type_symbol == NULL) |
12898 IN_type_symbol = last_type_symbol; |
13261 IN_type_symbol = last_type_symbol; |
12899 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13262 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12900 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
13263 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
12901 function_type_prefix = return_type_symbol; |
13264 function_type_prefix = return_type_symbol; |
|
13265 function_type_suffix = IN_type_symbol; |
12902 break; |
13266 break; |
12903 |
13267 |
12904 } |
13268 } |
12905 |
13269 |
12906 |
13270 |
12932 } |
13296 } |
12933 |
13297 |
12934 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13298 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
12935 { |
13299 { |
12936 |
13300 |
|
13301 function_name = (symbol_c*)(new pragma_c("__move_")); |
12937 |
13302 |
12938 if (IN_type_symbol == NULL) |
13303 if (IN_type_symbol == NULL) |
12939 IN_type_symbol = last_type_symbol; |
13304 IN_type_symbol = last_type_symbol; |
12940 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13305 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12941 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
13306 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
12942 function_type_prefix = return_type_symbol; |
13307 function_type_prefix = return_type_symbol; |
|
13308 function_type_suffix = IN_type_symbol; |
12943 break; |
13309 break; |
12944 |
13310 |
12945 } |
13311 } |
12946 |
13312 |
12947 |
13313 |
12973 } |
13339 } |
12974 |
13340 |
12975 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13341 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
12976 { |
13342 { |
12977 |
13343 |
|
13344 function_name = (symbol_c*)(new pragma_c("__move_")); |
12978 |
13345 |
12979 if (IN_type_symbol == NULL) |
13346 if (IN_type_symbol == NULL) |
12980 IN_type_symbol = last_type_symbol; |
13347 IN_type_symbol = last_type_symbol; |
12981 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13348 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
12982 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
13349 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
12983 function_type_prefix = return_type_symbol; |
13350 function_type_prefix = return_type_symbol; |
|
13351 function_type_suffix = IN_type_symbol; |
12984 break; |
13352 break; |
12985 |
13353 |
12986 } |
13354 } |
12987 |
13355 |
12988 |
13356 |
13014 } |
13382 } |
13015 |
13383 |
13016 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13384 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13017 { |
13385 { |
13018 |
13386 |
|
13387 function_name = (symbol_c*)(new pragma_c("__move_")); |
13019 |
13388 |
13020 if (IN_type_symbol == NULL) |
13389 if (IN_type_symbol == NULL) |
13021 IN_type_symbol = last_type_symbol; |
13390 IN_type_symbol = last_type_symbol; |
13022 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13391 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13023 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
13392 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
13024 function_type_prefix = return_type_symbol; |
13393 function_type_prefix = return_type_symbol; |
|
13394 function_type_suffix = IN_type_symbol; |
13025 break; |
13395 break; |
13026 |
13396 |
13027 } |
13397 } |
13028 |
13398 |
13029 |
13399 |
13055 } |
13425 } |
13056 |
13426 |
13057 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13427 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13058 { |
13428 { |
13059 |
13429 |
|
13430 function_name = (symbol_c*)(new pragma_c("__move_")); |
13060 |
13431 |
13061 if (IN_type_symbol == NULL) |
13432 if (IN_type_symbol == NULL) |
13062 IN_type_symbol = last_type_symbol; |
13433 IN_type_symbol = last_type_symbol; |
13063 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13434 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13064 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
13435 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
13065 function_type_prefix = return_type_symbol; |
13436 function_type_prefix = return_type_symbol; |
|
13437 function_type_suffix = IN_type_symbol; |
13066 break; |
13438 break; |
13067 |
13439 |
13068 } |
13440 } |
13069 |
13441 |
13070 |
13442 |
13138 } |
13510 } |
13139 |
13511 |
13140 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13512 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13141 { |
13513 { |
13142 |
13514 |
|
13515 function_name = (symbol_c*)(new pragma_c("__move_")); |
13143 |
13516 |
13144 if (IN_type_symbol == NULL) |
13517 if (IN_type_symbol == NULL) |
13145 IN_type_symbol = last_type_symbol; |
13518 IN_type_symbol = last_type_symbol; |
13146 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13519 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13147 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
13520 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
13148 function_type_prefix = return_type_symbol; |
13521 function_type_prefix = return_type_symbol; |
|
13522 function_type_suffix = IN_type_symbol; |
13149 break; |
13523 break; |
13150 |
13524 |
13151 } |
13525 } |
13152 |
13526 |
13153 |
13527 |
13263 } |
13637 } |
13264 |
13638 |
13265 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13639 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13266 { |
13640 { |
13267 |
13641 |
|
13642 function_name = (symbol_c*)(new pragma_c("__move_")); |
13268 |
13643 |
13269 if (IN_type_symbol == NULL) |
13644 if (IN_type_symbol == NULL) |
13270 IN_type_symbol = last_type_symbol; |
13645 IN_type_symbol = last_type_symbol; |
13271 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13646 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13272 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
13647 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
13273 function_type_prefix = return_type_symbol; |
13648 function_type_prefix = return_type_symbol; |
|
13649 function_type_suffix = IN_type_symbol; |
13274 break; |
13650 break; |
13275 |
13651 |
13276 } |
13652 } |
13277 |
13653 |
13278 |
13654 |
13304 } |
13680 } |
13305 |
13681 |
13306 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13682 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13307 { |
13683 { |
13308 |
13684 |
|
13685 function_name = (symbol_c*)(new pragma_c("__move_")); |
13309 |
13686 |
13310 if (IN_type_symbol == NULL) |
13687 if (IN_type_symbol == NULL) |
13311 IN_type_symbol = last_type_symbol; |
13688 IN_type_symbol = last_type_symbol; |
13312 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13689 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13313 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
13690 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
13314 function_type_prefix = return_type_symbol; |
13691 function_type_prefix = return_type_symbol; |
|
13692 function_type_suffix = IN_type_symbol; |
13315 break; |
13693 break; |
13316 |
13694 |
13317 } |
13695 } |
13318 |
13696 |
13319 |
13697 |
13387 } |
13765 } |
13388 |
13766 |
13389 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13767 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13390 { |
13768 { |
13391 |
13769 |
|
13770 function_name = (symbol_c*)(new pragma_c("__move_")); |
13392 |
13771 |
13393 if (IN_type_symbol == NULL) |
13772 if (IN_type_symbol == NULL) |
13394 IN_type_symbol = last_type_symbol; |
13773 IN_type_symbol = last_type_symbol; |
13395 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13774 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13396 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
13775 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
13397 function_type_prefix = return_type_symbol; |
13776 function_type_prefix = return_type_symbol; |
|
13777 function_type_suffix = IN_type_symbol; |
13398 break; |
13778 break; |
13399 |
13779 |
13400 } |
13780 } |
13401 |
13781 |
13402 |
13782 |
13428 } |
13808 } |
13429 |
13809 |
13430 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13810 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13431 { |
13811 { |
13432 |
13812 |
|
13813 function_name = (symbol_c*)(new pragma_c("__move_")); |
13433 |
13814 |
13434 if (IN_type_symbol == NULL) |
13815 if (IN_type_symbol == NULL) |
13435 IN_type_symbol = last_type_symbol; |
13816 IN_type_symbol = last_type_symbol; |
13436 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13817 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13437 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
13818 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
13438 function_type_prefix = return_type_symbol; |
13819 function_type_prefix = return_type_symbol; |
|
13820 function_type_suffix = IN_type_symbol; |
13439 break; |
13821 break; |
13440 |
13822 |
13441 } |
13823 } |
13442 |
13824 |
13443 |
13825 |
13469 } |
13851 } |
13470 |
13852 |
13471 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13853 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13472 { |
13854 { |
13473 |
13855 |
|
13856 function_name = (symbol_c*)(new pragma_c("__move_")); |
13474 |
13857 |
13475 if (IN_type_symbol == NULL) |
13858 if (IN_type_symbol == NULL) |
13476 IN_type_symbol = last_type_symbol; |
13859 IN_type_symbol = last_type_symbol; |
13477 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13860 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13478 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
13861 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
13479 function_type_prefix = return_type_symbol; |
13862 function_type_prefix = return_type_symbol; |
|
13863 function_type_suffix = IN_type_symbol; |
13480 break; |
13864 break; |
13481 |
13865 |
13482 } |
13866 } |
13483 |
13867 |
13484 |
13868 |
13510 } |
13894 } |
13511 |
13895 |
13512 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13896 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13513 { |
13897 { |
13514 |
13898 |
|
13899 function_name = (symbol_c*)(new pragma_c("__move_")); |
13515 |
13900 |
13516 if (IN_type_symbol == NULL) |
13901 if (IN_type_symbol == NULL) |
13517 IN_type_symbol = last_type_symbol; |
13902 IN_type_symbol = last_type_symbol; |
13518 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13903 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13519 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
13904 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
13520 function_type_prefix = return_type_symbol; |
13905 function_type_prefix = return_type_symbol; |
|
13906 function_type_suffix = IN_type_symbol; |
13521 break; |
13907 break; |
13522 |
13908 |
13523 } |
13909 } |
13524 |
13910 |
13525 |
13911 |
13551 } |
13937 } |
13552 |
13938 |
13553 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13939 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13554 { |
13940 { |
13555 |
13941 |
|
13942 function_name = (symbol_c*)(new pragma_c("__move_")); |
13556 |
13943 |
13557 if (IN_type_symbol == NULL) |
13944 if (IN_type_symbol == NULL) |
13558 IN_type_symbol = last_type_symbol; |
13945 IN_type_symbol = last_type_symbol; |
13559 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13946 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13560 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
13947 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
13561 function_type_prefix = return_type_symbol; |
13948 function_type_prefix = return_type_symbol; |
|
13949 function_type_suffix = IN_type_symbol; |
13562 break; |
13950 break; |
13563 |
13951 |
13564 } |
13952 } |
13565 |
13953 |
13566 |
13954 |
13592 } |
13980 } |
13593 |
13981 |
13594 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13982 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13595 { |
13983 { |
13596 |
13984 |
|
13985 function_name = (symbol_c*)(new pragma_c("__move_")); |
13597 |
13986 |
13598 if (IN_type_symbol == NULL) |
13987 if (IN_type_symbol == NULL) |
13599 IN_type_symbol = last_type_symbol; |
13988 IN_type_symbol = last_type_symbol; |
13600 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13989 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13601 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
13990 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
13602 function_type_prefix = return_type_symbol; |
13991 function_type_prefix = return_type_symbol; |
|
13992 function_type_suffix = IN_type_symbol; |
13603 break; |
13993 break; |
13604 |
13994 |
13605 } |
13995 } |
13606 |
13996 |
13607 |
13997 |
13675 } |
14065 } |
13676 |
14066 |
13677 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
14067 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::bool_type_name, last_type_symbol)) |
13678 { |
14068 { |
13679 |
14069 |
|
14070 function_name = (symbol_c*)(new pragma_c("__move_")); |
13680 |
14071 |
13681 if (IN_type_symbol == NULL) |
14072 if (IN_type_symbol == NULL) |
13682 IN_type_symbol = last_type_symbol; |
14073 IN_type_symbol = last_type_symbol; |
13683 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14074 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
13684 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
14075 symbol_c * return_type_symbol = &search_constant_type_c::int_type_name; |
13685 function_type_prefix = return_type_symbol; |
14076 function_type_prefix = return_type_symbol; |
|
14077 function_type_suffix = IN_type_symbol; |
13686 break; |
14078 break; |
13687 |
14079 |
13688 } |
14080 } |
13689 |
14081 |
13690 |
14082 |
14346 } |
14738 } |
14347 |
14739 |
14348 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14740 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14349 { |
14741 { |
14350 |
14742 |
|
14743 function_name = (symbol_c*)(new pragma_c("__move_")); |
14351 |
14744 |
14352 if (IN_type_symbol == NULL) |
14745 if (IN_type_symbol == NULL) |
14353 IN_type_symbol = last_type_symbol; |
14746 IN_type_symbol = last_type_symbol; |
14354 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14747 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14355 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
14748 symbol_c * return_type_symbol = &search_constant_type_c::real_type_name; |
14356 function_type_prefix = return_type_symbol; |
14749 function_type_prefix = return_type_symbol; |
|
14750 function_type_suffix = IN_type_symbol; |
14357 break; |
14751 break; |
14358 |
14752 |
14359 } |
14753 } |
14360 |
14754 |
14361 |
14755 |
14387 } |
14781 } |
14388 |
14782 |
14389 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14783 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14390 { |
14784 { |
14391 |
14785 |
|
14786 function_name = (symbol_c*)(new pragma_c("__move_")); |
14392 |
14787 |
14393 if (IN_type_symbol == NULL) |
14788 if (IN_type_symbol == NULL) |
14394 IN_type_symbol = last_type_symbol; |
14789 IN_type_symbol = last_type_symbol; |
14395 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14790 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14396 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
14791 symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name; |
14397 function_type_prefix = return_type_symbol; |
14792 function_type_prefix = return_type_symbol; |
|
14793 function_type_suffix = IN_type_symbol; |
14398 break; |
14794 break; |
14399 |
14795 |
14400 } |
14796 } |
14401 |
14797 |
14402 |
14798 |
14428 } |
14824 } |
14429 |
14825 |
14430 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14826 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14431 { |
14827 { |
14432 |
14828 |
|
14829 function_name = (symbol_c*)(new pragma_c("__move_")); |
14433 |
14830 |
14434 if (IN_type_symbol == NULL) |
14831 if (IN_type_symbol == NULL) |
14435 IN_type_symbol = last_type_symbol; |
14832 IN_type_symbol = last_type_symbol; |
14436 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14833 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14437 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
14834 symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name; |
14438 function_type_prefix = return_type_symbol; |
14835 function_type_prefix = return_type_symbol; |
|
14836 function_type_suffix = IN_type_symbol; |
14439 break; |
14837 break; |
14440 |
14838 |
14441 } |
14839 } |
14442 |
14840 |
14443 |
14841 |
14469 } |
14867 } |
14470 |
14868 |
14471 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14869 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14472 { |
14870 { |
14473 |
14871 |
|
14872 function_name = (symbol_c*)(new pragma_c("__move_")); |
14474 |
14873 |
14475 if (IN_type_symbol == NULL) |
14874 if (IN_type_symbol == NULL) |
14476 IN_type_symbol = last_type_symbol; |
14875 IN_type_symbol = last_type_symbol; |
14477 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14876 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14478 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
14877 symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name; |
14479 function_type_prefix = return_type_symbol; |
14878 function_type_prefix = return_type_symbol; |
|
14879 function_type_suffix = IN_type_symbol; |
14480 break; |
14880 break; |
14481 |
14881 |
14482 } |
14882 } |
14483 |
14883 |
14484 |
14884 |
14552 } |
14952 } |
14553 |
14953 |
14554 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14954 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14555 { |
14955 { |
14556 |
14956 |
|
14957 function_name = (symbol_c*)(new pragma_c("__move_")); |
14557 |
14958 |
14558 if (IN_type_symbol == NULL) |
14959 if (IN_type_symbol == NULL) |
14559 IN_type_symbol = last_type_symbol; |
14960 IN_type_symbol = last_type_symbol; |
14560 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14961 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14561 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
14962 symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name; |
14562 function_type_prefix = return_type_symbol; |
14963 function_type_prefix = return_type_symbol; |
|
14964 function_type_suffix = IN_type_symbol; |
14563 break; |
14965 break; |
14564 |
14966 |
14565 } |
14967 } |
14566 |
14968 |
14567 |
14969 |
14677 } |
15079 } |
14678 |
15080 |
14679 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15081 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14680 { |
15082 { |
14681 |
15083 |
|
15084 function_name = (symbol_c*)(new pragma_c("__move_")); |
14682 |
15085 |
14683 if (IN_type_symbol == NULL) |
15086 if (IN_type_symbol == NULL) |
14684 IN_type_symbol = last_type_symbol; |
15087 IN_type_symbol = last_type_symbol; |
14685 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15088 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14686 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
15089 symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name; |
14687 function_type_prefix = return_type_symbol; |
15090 function_type_prefix = return_type_symbol; |
|
15091 function_type_suffix = IN_type_symbol; |
14688 break; |
15092 break; |
14689 |
15093 |
14690 } |
15094 } |
14691 |
15095 |
14692 |
15096 |
14718 } |
15122 } |
14719 |
15123 |
14720 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15124 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14721 { |
15125 { |
14722 |
15126 |
|
15127 function_name = (symbol_c*)(new pragma_c("__move_")); |
14723 |
15128 |
14724 if (IN_type_symbol == NULL) |
15129 if (IN_type_symbol == NULL) |
14725 IN_type_symbol = last_type_symbol; |
15130 IN_type_symbol = last_type_symbol; |
14726 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15131 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14727 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
15132 symbol_c * return_type_symbol = &search_constant_type_c::word_type_name; |
14728 function_type_prefix = return_type_symbol; |
15133 function_type_prefix = return_type_symbol; |
|
15134 function_type_suffix = IN_type_symbol; |
14729 break; |
15135 break; |
14730 |
15136 |
14731 } |
15137 } |
14732 |
15138 |
14733 |
15139 |
14801 } |
15207 } |
14802 |
15208 |
14803 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15209 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14804 { |
15210 { |
14805 |
15211 |
|
15212 function_name = (symbol_c*)(new pragma_c("__move_")); |
14806 |
15213 |
14807 if (IN_type_symbol == NULL) |
15214 if (IN_type_symbol == NULL) |
14808 IN_type_symbol = last_type_symbol; |
15215 IN_type_symbol = last_type_symbol; |
14809 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15216 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14810 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
15217 symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name; |
14811 function_type_prefix = return_type_symbol; |
15218 function_type_prefix = return_type_symbol; |
|
15219 function_type_suffix = IN_type_symbol; |
14812 break; |
15220 break; |
14813 |
15221 |
14814 } |
15222 } |
14815 |
15223 |
14816 |
15224 |
14842 } |
15250 } |
14843 |
15251 |
14844 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15252 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14845 { |
15253 { |
14846 |
15254 |
|
15255 function_name = (symbol_c*)(new pragma_c("__move_")); |
14847 |
15256 |
14848 if (IN_type_symbol == NULL) |
15257 if (IN_type_symbol == NULL) |
14849 IN_type_symbol = last_type_symbol; |
15258 IN_type_symbol = last_type_symbol; |
14850 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15259 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14851 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
15260 symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name; |
14852 function_type_prefix = return_type_symbol; |
15261 function_type_prefix = return_type_symbol; |
|
15262 function_type_suffix = IN_type_symbol; |
14853 break; |
15263 break; |
14854 |
15264 |
14855 } |
15265 } |
14856 |
15266 |
14857 |
15267 |
14883 } |
15293 } |
14884 |
15294 |
14885 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15295 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14886 { |
15296 { |
14887 |
15297 |
|
15298 function_name = (symbol_c*)(new pragma_c("__move_")); |
14888 |
15299 |
14889 if (IN_type_symbol == NULL) |
15300 if (IN_type_symbol == NULL) |
14890 IN_type_symbol = last_type_symbol; |
15301 IN_type_symbol = last_type_symbol; |
14891 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15302 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14892 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
15303 symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name; |
14893 function_type_prefix = return_type_symbol; |
15304 function_type_prefix = return_type_symbol; |
|
15305 function_type_suffix = IN_type_symbol; |
14894 break; |
15306 break; |
14895 |
15307 |
14896 } |
15308 } |
14897 |
15309 |
14898 |
15310 |
14924 } |
15336 } |
14925 |
15337 |
14926 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15338 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14927 { |
15339 { |
14928 |
15340 |
|
15341 function_name = (symbol_c*)(new pragma_c("__move_")); |
14929 |
15342 |
14930 if (IN_type_symbol == NULL) |
15343 if (IN_type_symbol == NULL) |
14931 IN_type_symbol = last_type_symbol; |
15344 IN_type_symbol = last_type_symbol; |
14932 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15345 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14933 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
15346 symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name; |
14934 function_type_prefix = return_type_symbol; |
15347 function_type_prefix = return_type_symbol; |
|
15348 function_type_suffix = IN_type_symbol; |
14935 break; |
15349 break; |
14936 |
15350 |
14937 } |
15351 } |
14938 |
15352 |
14939 |
15353 |
14965 } |
15379 } |
14966 |
15380 |
14967 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15381 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
14968 { |
15382 { |
14969 |
15383 |
|
15384 function_name = (symbol_c*)(new pragma_c("__move_")); |
14970 |
15385 |
14971 if (IN_type_symbol == NULL) |
15386 if (IN_type_symbol == NULL) |
14972 IN_type_symbol = last_type_symbol; |
15387 IN_type_symbol = last_type_symbol; |
14973 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15388 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
14974 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
15389 symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name; |
14975 function_type_prefix = return_type_symbol; |
15390 function_type_prefix = return_type_symbol; |
|
15391 function_type_suffix = IN_type_symbol; |
14976 break; |
15392 break; |
14977 |
15393 |
14978 } |
15394 } |
14979 |
15395 |
14980 |
15396 |
15006 } |
15422 } |
15007 |
15423 |
15008 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15424 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15009 { |
15425 { |
15010 |
15426 |
|
15427 function_name = (symbol_c*)(new pragma_c("__move_")); |
15011 |
15428 |
15012 if (IN_type_symbol == NULL) |
15429 if (IN_type_symbol == NULL) |
15013 IN_type_symbol = last_type_symbol; |
15430 IN_type_symbol = last_type_symbol; |
15014 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15431 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15015 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
15432 symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name; |
15016 function_type_prefix = return_type_symbol; |
15433 function_type_prefix = return_type_symbol; |
|
15434 function_type_suffix = IN_type_symbol; |
15017 break; |
15435 break; |
15018 |
15436 |
15019 } |
15437 } |
15020 |
15438 |
15021 |
15439 |
15047 } |
15465 } |
15048 |
15466 |
15049 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15467 if(IN_type_symbol == NULL || search_expression_type->is_same_type(&search_constant_type_c::int_type_name, last_type_symbol)) |
15050 { |
15468 { |
15051 |
15469 |
|
15470 function_name = (symbol_c*)(new pragma_c("__move_")); |
15052 |
15471 |
15053 if (IN_type_symbol == NULL) |
15472 if (IN_type_symbol == NULL) |
15054 IN_type_symbol = last_type_symbol; |
15473 IN_type_symbol = last_type_symbol; |
15055 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15474 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in) |
15056 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
15475 symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name; |
15057 function_type_prefix = return_type_symbol; |
15476 function_type_prefix = return_type_symbol; |
|
15477 function_type_suffix = IN_type_symbol; |
15058 break; |
15478 break; |
15059 |
15479 |
15060 } |
15480 } |
15061 |
15481 |
15062 |
15482 |