summaryrefslogtreecommitdiff
path: root/template/known_errors.inc.tmpl
blob: c3aee7747718de29038768960797a48d311188ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** -*-c-*-
 * DO NOT EDIT
 * This file is automatically generated by tool/generic_erb.rb from
 * template/known_errors.inc.tmpl and defs/known_errors.def.
 */

% error_names = ARGF.read.split(/\s+/)
% error_names.each do |name|
#ifdef <%=name%>
        defined_error("<%=name%>", <%=name%>)
#else
        undefined_error("<%=name%>")
#endif
% end