Lines Matching refs:code
29 # mkstrtable.awk source text consists of comments plus executable code
31 # We call these comments and executable code the "non-data" portions.
54 # msgidxof (code);
55 # A macro that maps code numbers to idx numbers. If a DEFAULT MESSAGE
58 # You can lookup the message with code CODE with:
59 # msgstr + msgidx[msgidxof (code)].
62 # CODE1 ... MESSAGE1 (code nr, <tab>, something, <tab>, msg)
63 # CODE2 ... MESSAGE2 (code nr, <tab>, something, <tab>, msg)
65 # CODEn ... MESSAGEn (code nr, <tab>, something, <tab>, msg)
103 print " optimal code with a minimum of relocations. */";
130 # Remember the error code and msgidx of each error message.
131 code[msg] = $1;
161 print namespace "msgidxof (int code)";
166 skip = code[0];
167 start = code[0];
168 stop = code[0];
171 if (code[i] == stop + 1)
175 print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \
177 skip += code[i] - stop - 1;
178 start = code[i];
179 stop = code[i];
182 print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \