Project

General

Profile

« Previous | Next » 

Revision 41f4ac6a

Added by nobu (Nobuyoshi Nakada) about 7 years ago

ast.c: use enum in switch for warnings

  • ext/-test-/ast/ast.c (node_children): use enum instead of int
    for not-handled enumeration value in switch warnings.

  • ext/-test-/ast/ast.c (node_children): fix the rb_bug message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e