use ISXDIGIT instead isxdigit on parser.y:3485
Refactor kernel.c and class.c
Merge pull request #1190 from lateau/master

tiny fix on parser.y: change isxdigit to ISXDIGIT
Merge pull request #1191 from h2so5/refactor-kernel-and-class

Refactor kernel.c and class.c