Deleted Added
full compact
sysinfo.y (78828) sysinfo.y (89857)
1/* Copyright 2001 Free Software Foundation, Inc.
2 Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
3
4This file is part of GNU binutils.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or

--- 58 unchanged lines hidden (view full) ---

67 break;
68 case 'g':
69 printf("#ifdef SYSROFF_SWAP_OUT\n");
70 break;
71 case 'c':
72 printf("#ifdef SYSROFF_PRINT\n");
73 printf("#include <stdio.h>\n");
74 printf("#include <stdlib.h>\n");
1/* Copyright 2001 Free Software Foundation, Inc.
2 Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
3
4This file is part of GNU binutils.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or

--- 58 unchanged lines hidden (view full) ---

67 break;
68 case 'g':
69 printf("#ifdef SYSROFF_SWAP_OUT\n");
70 break;
71 case 'c':
72 printf("#ifdef SYSROFF_PRINT\n");
73 printf("#include <stdio.h>\n");
74 printf("#include <stdlib.h>\n");
75 printf("#include <ansidecl.h>\n");
75 break;
76 }
77 }
78it_list {
79 switch (writecode) {
80 case 'i':
81 case 'p':
82 case 'g':

--- 15 unchanged lines hidden (view full) ---

98it:
99 '(' NAME NUMBER
100 {
101 it = $2; code = $3;
102 switch (writecode)
103 {
104 case 'd':
105 printf("\n\n\n#define IT_%s_CODE 0x%x\n", it,code);
76 break;
77 }
78 }
79it_list {
80 switch (writecode) {
81 case 'i':
82 case 'p':
83 case 'g':

--- 15 unchanged lines hidden (view full) ---

99it:
100 '(' NAME NUMBER
101 {
102 it = $2; code = $3;
103 switch (writecode)
104 {
105 case 'd':
106 printf("\n\n\n#define IT_%s_CODE 0x%x\n", it,code);
107 printf("struct IT_%s;\n", it);
108 printf("extern void sysroff_swap_%s_in PARAMS ((struct IT_%s *));\n",
109 $2, it);
110 printf("extern void sysroff_swap_%s_out PARAMS ((FILE *, struct IT_%s *));\n",
111 $2, it);
112 printf("extern void sysroff_print_%s_out PARAMS ((struct IT_%s *));\n",
113 $2, it);
106 printf("struct IT_%s { \n", it);
107 break;
108 case 'i':
109 printf("void sysroff_swap_%s_in(ptr)\n",$2);
110 printf("struct IT_%s *ptr;\n", it);
111 printf("{\n");
112 printf("char raw[255];\n");
113 printf("\tint idx = 0 ;\n");

--- 321 unchanged lines hidden ---
114 printf("struct IT_%s { \n", it);
115 break;
116 case 'i':
117 printf("void sysroff_swap_%s_in(ptr)\n",$2);
118 printf("struct IT_%s *ptr;\n", it);
119 printf("{\n");
120 printf("char raw[255];\n");
121 printf("\tint idx = 0 ;\n");

--- 321 unchanged lines hidden ---