comparison help2html/mhh6.c @ 22:5581ef01f993

Regen all the AG output. This also fixes the line number output in the tools (cgbigen/helpgen/help2html), apparently because those files weren't regenerated last go.
author David A. Holland
date Mon, 13 Jun 2022 00:06:39 -0400
parents ec2b657edf13
children
comparison
equal deleted inserted replaced
21:1c9dac05d040 22:5581ef01f993
1 1
2 /* 2 /*
3 * AnaGram, A System for Syntax Directed Programming 3 * AnaGram, A System for Syntax Directed Programming
4 * File generated by: Version 2.40-current, built Jun 13 2007 4 * File generated by: Version 2.40-current, built Jun 12 2022
5 * 5 *
6 * AnaGram Parsing Engine 6 * AnaGram Parsing Engine
7 * Copyright 1993-2002 Parsifal Software. All Rights Reserved. 7 * Copyright 1993-2002 Parsifal Software. All Rights Reserved.
8 * 8 *
9 * This software is provided 'as-is', without any express or implied 9 * This software is provided 'as-is', without any express or implied
21 * 2. Altered source versions must be plainly marked as such, and must not be 21 * 2. Altered source versions must be plainly marked as such, and must not be
22 * misrepresented as being the original software. 22 * misrepresented as being the original software.
23 * 3. This notice may not be removed or altered from any source distribution. 23 * 3. This notice may not be removed or altered from any source distribution.
24 */ 24 */
25 25
26 #ifndef MHH6_H_1193795958 26 #ifndef MHH6_H_1655092739
27 #include "mhh6.h" 27 #include "mhh6.h"
28 #endif 28 #endif
29 29
30 #ifndef MHH6_H_1193795958 30 #ifndef MHH6_H_1655092739
31 #error Mismatched header file 31 #error Mismatched header file
32 #endif 32 #endif
33 33
34 #include <ctype.h> 34 #include <ctype.h>
35 #include <stdio.h> 35 #include <stdio.h>
41 41
42 42
43 mhh6_pcb_type mhh6_pcb; 43 mhh6_pcb_type mhh6_pcb;
44 #define PCB mhh6_pcb 44 #define PCB mhh6_pcb
45 45
46 #line 387 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 46 #line 387 "../../src/help2html/mhh6.syn"
47 /* ----- Embedded C --------------------------------------------*/ 47 /* ----- Embedded C --------------------------------------------*/
48 48
49 49
50 #include <stdio.h> 50 #include <stdio.h>
51 #include <string.h> 51 #include <string.h>
723 #ifndef TAB_SPACING 723 #ifndef TAB_SPACING
724 #define TAB_SPACING 8 724 #define TAB_SPACING 8
725 #endif 725 #endif
726 726
727 static void ag_rp_1(void) { 727 static void ag_rp_1(void) {
728 #line 71 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 728 #line 71 "../../src/help2html/mhh6.syn"
729 title_line_count++; 729 title_line_count++;
730 // buffer_append(&titleLine, "</h3>\n<p>"); 730 // buffer_append(&titleLine, "</h3>\n<p>");
731 saveTitleLine(); 731 saveTitleLine();
732 732
733 #line 734 "mhh6.c" 733 #line 734 "mhh6.c"
740 #define ag_rp_4(c) (buffer_start(&title, c), buffer_start(&title1, toupper(c))) 740 #define ag_rp_4(c) (buffer_start(&title, c), buffer_start(&title1, toupper(c)))
741 741
742 #define ag_rp_5(c) (buffer_add(&title, c), buffer_add(&title1, toupper(c))) 742 #define ag_rp_5(c) (buffer_add(&title, c), buffer_add(&title1, toupper(c)))
743 743
744 static void ag_rp_6(void) { 744 static void ag_rp_6(void) {
745 #line 92 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 745 #line 92 "../../src/help2html/mhh6.syn"
746 saveTopicBody(); 746 saveTopicBody();
747 #line 748 "mhh6.c" 747 #line 748 "mhh6.c"
748 } 748 }
749 749
750 #define ag_rp_7() (buffer_append(&topicBody,"\n")) 750 #define ag_rp_7() (buffer_append(&topicBody,"\n"))
780 #define ag_rp_22() (buffer_append(&topicBody, "</li>\n")) 780 #define ag_rp_22() (buffer_append(&topicBody, "</li>\n"))
781 781
782 #define ag_rp_23() (buffer_append(&topicBody, "\n</pre>")) 782 #define ag_rp_23() (buffer_append(&topicBody, "\n</pre>"))
783 783
784 static void ag_rp_24(int c) { 784 static void ag_rp_24(int c) {
785 #line 172 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 785 #line 172 "../../src/help2html/mhh6.syn"
786 total1sttextline++; 786 total1sttextline++;
787 appendEnd(c); 787 appendEnd(c);
788 788
789 #line 790 "mhh6.c" 789 #line 790 "mhh6.c"
790 } 790 }
791 791
792 static void ag_rp_25(int c) { 792 static void ag_rp_25(int c) {
793 #line 176 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 793 #line 176 "../../src/help2html/mhh6.syn"
794 total1sttextlineb++; 794 total1sttextlineb++;
795 buffer_add(&topicBody, 0x20); 795 buffer_add(&topicBody, 0x20);
796 appendEnd(c); 796 appendEnd(c);
797 797
798 #line 799 "mhh6.c" 798 #line 799 "mhh6.c"
801 #define ag_rp_26(c) (appendEnd(c)) 801 #define ag_rp_26(c) (appendEnd(c))
802 802
803 #define ag_rp_27() (buffer_append(&topicBody, "</td></tr>")) 803 #define ag_rp_27() (buffer_append(&topicBody, "</td></tr>"))
804 804
805 static void ag_rp_28(int c) { 805 static void ag_rp_28(int c) {
806 #line 211 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 806 #line 211 "../../src/help2html/mhh6.syn"
807 807
808 total1sttableline++; 808 total1sttableline++;
809 buffer_append(&topicBody, 809 buffer_append(&topicBody,
810 "\n\n<table cellpadding=\"7\" cellspacing=\"2\" >\n<tr><td> "); 810 "\n\n<table cellpadding=\"7\" cellspacing=\"2\" >\n<tr><td> ");
811 appendTableCell(c); 811 appendTableCell(c);
814 814
815 #line 816 "mhh6.c" 815 #line 816 "mhh6.c"
816 } 816 }
817 817
818 static void ag_rp_29(int c) { 818 static void ag_rp_29(int c) {
819 #line 222 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 819 #line 222 "../../src/help2html/mhh6.syn"
820 buffer_append(&topicBody, "</td>\n<td> "); 820 buffer_append(&topicBody, "</td>\n<td> ");
821 appendTableCell(c); 821 appendTableCell(c);
822 buffer_clear(&tabFrag); 822 buffer_clear(&tabFrag);
823 buffer_clear(&blankFrag); 823 buffer_clear(&blankFrag);
824 824
826 } 826 }
827 827
828 #define ag_rp_30() (buffer_append(&topicBody, "</td></tr>")) 828 #define ag_rp_30() (buffer_append(&topicBody, "</td></tr>"))
829 829
830 static void ag_rp_31(int c) { 830 static void ag_rp_31(int c) {
831 #line 234 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 831 #line 234 "../../src/help2html/mhh6.syn"
832 buffer_append(&topicBody, "\n\n<tr><td> "); 832 buffer_append(&topicBody, "\n\n<tr><td> ");
833 appendTableCell(c); 833 appendTableCell(c);
834 buffer_clear(&tabFrag); 834 buffer_clear(&tabFrag);
835 buffer_clear(&blankFrag); 835 buffer_clear(&blankFrag);
836 836
837 #line 838 "mhh6.c" 837 #line 838 "mhh6.c"
838 } 838 }
839 839
840 static void ag_rp_32(int c) { 840 static void ag_rp_32(int c) {
841 #line 242 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 841 #line 242 "../../src/help2html/mhh6.syn"
842 buffer_append(&topicBody, "</td>\n<td> "); 842 buffer_append(&topicBody, "</td>\n<td> ");
843 appendTableCell(c); 843 appendTableCell(c);
844 buffer_clear(&tabFrag); 844 buffer_clear(&tabFrag);
845 buffer_clear(&blankFrag); 845 buffer_clear(&blankFrag);
846 846
847 #line 848 "mhh6.c" 847 #line 848 "mhh6.c"
848 } 848 }
849 849
850 static void ag_rp_33(int c) { 850 static void ag_rp_33(int c) {
851 #line 252 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 851 #line 252 "../../src/help2html/mhh6.syn"
852 total1stlist1line++; 852 total1stlist1line++;
853 if (intstack_top(&paragType) != Tlist1) { 853 if (intstack_top(&paragType) != Tlist1) {
854 intstack_push(&paragType, Tlist1); 854 intstack_push(&paragType, Tlist1);
855 buffer_append(&topicBody, "\n<ul>"); 855 buffer_append(&topicBody, "\n<ul>");
856 } 856 }
862 } 862 }
863 863
864 #define ag_rp_34(c) (appendEnd(c)) 864 #define ag_rp_34(c) (appendEnd(c))
865 865
866 static void ag_rp_35(int c) { 866 static void ag_rp_35(int c) {
867 #line 268 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 867 #line 268 "../../src/help2html/mhh6.syn"
868 total1stlist2line++; 868 total1stlist2line++;
869 if (intstack_top(&paragType) != Tlist2) { 869 if (intstack_top(&paragType) != Tlist2) {
870 intstack_push(&paragType, Tlist2); 870 intstack_push(&paragType, Tlist2);
871 buffer_append(&topicBody, "\n<ul>"); 871 buffer_append(&topicBody, "\n<ul>");
872 } 872 }
878 } 878 }
879 879
880 #define ag_rp_36(c) (appendEnd(c)) 880 #define ag_rp_36(c) (appendEnd(c))
881 881
882 static void ag_rp_37(int t, int c) { 882 static void ag_rp_37(int t, int c) {
883 #line 284 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 883 #line 284 "../../src/help2html/mhh6.syn"
884 total1stlisttabline++; 884 total1stlisttabline++;
885 if (intstack_top(&paragType) != Tlisttab) { 885 if (intstack_top(&paragType) != Tlisttab) {
886 intstack_push(&paragType, Tlisttab); 886 intstack_push(&paragType, Tlisttab);
887 buffer_append(&topicBody, "\n<ul>"); 887 buffer_append(&topicBody, "\n<ul>");
888 } 888 }
894 } 894 }
895 895
896 #define ag_rp_38(c) (appendEnd(c)) 896 #define ag_rp_38(c) (appendEnd(c))
897 897
898 static void ag_rp_39(int c) { 898 static void ag_rp_39(int c) {
899 #line 301 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 899 #line 301 "../../src/help2html/mhh6.syn"
900 total1stcodeline++; 900 total1stcodeline++;
901 buffer_append(&topicBody, "\n<pre> "); 901 buffer_append(&topicBody, "\n<pre> ");
902 appendEnd(c); 902 appendEnd(c);
903 903
904 #line 905 "mhh6.c" 904 #line 905 "mhh6.c"
905 } 905 }
906 906
907 static void ag_rp_40(int c) { 907 static void ag_rp_40(int c) {
908 #line 306 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 908 #line 306 "../../src/help2html/mhh6.syn"
909 total1stcodeline++; 909 total1stcodeline++;
910 buffer_append(&topicBody, "\n<pre> "); 910 buffer_append(&topicBody, "\n<pre> ");
911 appendEnd(c); 911 appendEnd(c);
912 912
913 #line 914 "mhh6.c" 913 #line 914 "mhh6.c"
914 } 914 }
915 915
916 static void ag_rp_41(int c) { 916 static void ag_rp_41(int c) {
917 #line 311 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 917 #line 311 "../../src/help2html/mhh6.syn"
918 total1stcodeline++; 918 total1stcodeline++;
919 buffer_append(&topicBody, "\n<pre> "); 919 buffer_append(&topicBody, "\n<pre> ");
920 appendEnd(c); 920 appendEnd(c);
921 921
922 #line 923 "mhh6.c" 922 #line 923 "mhh6.c"
923 } 923 }
924 924
925 static void ag_rp_42(int c) { 925 static void ag_rp_42(int c) {
926 #line 316 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 926 #line 316 "../../src/help2html/mhh6.syn"
927 total1stcodeline++; 927 total1stcodeline++;
928 buffer_append(&topicBody, "\n<pre> "); 928 buffer_append(&topicBody, "\n<pre> ");
929 appendEnd(c); 929 appendEnd(c);
930 930
931 #line 932 "mhh6.c" 931 #line 932 "mhh6.c"
932 } 932 }
933 933
934 static void ag_rp_43(int c) { 934 static void ag_rp_43(int c) {
935 #line 320 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 935 #line 320 "../../src/help2html/mhh6.syn"
936 936
937 total1stcodeline++; 937 total1stcodeline++;
938 buffer_append(&topicBody, "\n<pre> "); 938 buffer_append(&topicBody, "\n<pre> ");
939 appendEnd(c); 939 appendEnd(c);
940 940
941 #line 942 "mhh6.c" 941 #line 942 "mhh6.c"
942 } 942 }
943 943
944 static void ag_rp_44(int c) { 944 static void ag_rp_44(int c) {
945 #line 326 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 945 #line 326 "../../src/help2html/mhh6.syn"
946 total1stcodeline++; 946 total1stcodeline++;
947 buffer_append(&topicBody, "\n<pre> "); 947 buffer_append(&topicBody, "\n<pre> ");
948 appendEnd(c); 948 appendEnd(c);
949 949
950 #line 951 "mhh6.c" 950 #line 951 "mhh6.c"
951 } 951 }
952 952
953 static void ag_rp_45(int c) { 953 static void ag_rp_45(int c) {
954 #line 330 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 954 #line 330 "../../src/help2html/mhh6.syn"
955 955
956 total1stcodeline++; 956 total1stcodeline++;
957 buffer_append(&topicBody, "\n<pre> "); 957 buffer_append(&topicBody, "\n<pre> ");
958 appendEnd(c); 958 appendEnd(c);
959 959
960 #line 961 "mhh6.c" 960 #line 961 "mhh6.c"
961 } 961 }
962 962
963 static void ag_rp_46(int c) { 963 static void ag_rp_46(int c) {
964 #line 339 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 964 #line 339 "../../src/help2html/mhh6.syn"
965 buffer_append(&topicBody, " "); 965 buffer_append(&topicBody, " ");
966 appendEnd(c); 966 appendEnd(c);
967 967
968 #line 969 "mhh6.c" 968 #line 969 "mhh6.c"
969 } 969 }
970 970
971 static void ag_rp_47(int c) { 971 static void ag_rp_47(int c) {
972 #line 343 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 972 #line 343 "../../src/help2html/mhh6.syn"
973 buffer_append(&topicBody, " "); 973 buffer_append(&topicBody, " ");
974 appendEnd(c); 974 appendEnd(c);
975 975
976 #line 977 "mhh6.c" 976 #line 977 "mhh6.c"
977 } 977 }
978 978
979 static void ag_rp_48(int c) { 979 static void ag_rp_48(int c) {
980 #line 347 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 980 #line 347 "../../src/help2html/mhh6.syn"
981 buffer_append(&topicBody, " "); 981 buffer_append(&topicBody, " ");
982 appendEnd(c); 982 appendEnd(c);
983 983
984 #line 985 "mhh6.c" 984 #line 985 "mhh6.c"
985 } 985 }
986 986
987 static void ag_rp_49(int c) { 987 static void ag_rp_49(int c) {
988 #line 351 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 988 #line 351 "../../src/help2html/mhh6.syn"
989 buffer_append(&topicBody, " "); 989 buffer_append(&topicBody, " ");
990 appendEnd(c); 990 appendEnd(c);
991 991
992 #line 993 "mhh6.c" 992 #line 993 "mhh6.c"
993 } 993 }
994 994
995 static void ag_rp_50(int c) { 995 static void ag_rp_50(int c) {
996 #line 355 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 996 #line 355 "../../src/help2html/mhh6.syn"
997 buffer_append(&topicBody, " "); 997 buffer_append(&topicBody, " ");
998 appendEnd(c); 998 appendEnd(c);
999 999
1000 #line 1001 "mhh6.c" 1000 #line 1001 "mhh6.c"
1001 } 1001 }
1002 1002
1003 static void ag_rp_51(int c) { 1003 static void ag_rp_51(int c) {
1004 #line 359 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 1004 #line 359 "../../src/help2html/mhh6.syn"
1005 buffer_append(&topicBody, " "); 1005 buffer_append(&topicBody, " ");
1006 appendEnd(c); 1006 appendEnd(c);
1007 1007
1008 #line 1009 "mhh6.c" 1008 #line 1009 "mhh6.c"
1009 } 1009 }
1010 1010
1011 static void ag_rp_52(int c) { 1011 static void ag_rp_52(int c) {
1012 #line 363 "/disk/disk0/home/dholland/projects/ag/src/help2html/mhh6.syn" 1012 #line 363 "../../src/help2html/mhh6.syn"
1013 buffer_append(&topicBody, " "); 1013 buffer_append(&topicBody, " ");
1014 appendEnd(c); 1014 appendEnd(c);
1015 1015
1016 #line 1017 "mhh6.c" 1016 #line 1017 "mhh6.c"
1017 } 1017 }