1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/template/known_errors.inc.tmpl

15 lines
349 B
Cheetah
Raw Normal View History

/** -*-c-*-
* DO NOT EDIT
* This file is automatically generated by tools/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