зеркало из https://github.com/github/ruby.git
15 строки
348 B
C
15 строки
348 B
C
/** -*-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
|