Commit a3d00a90 authored by Frank Celler's avatar Frank Celler

fixed prototype: g++ will complain about definition not being a prototype,...

fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
parent aeffe3f7
...@@ -188,8 +188,7 @@ sym_to_sym(mrb_state *mrb, mrb_value sym) ...@@ -188,8 +188,7 @@ sym_to_sym(mrb_state *mrb, mrb_value sym)
#define is_identchar(c) (SIGN_EXTEND_CHAR(c)!=-1&&(ISALNUM(c) || (c) == '_')) #define is_identchar(c) (SIGN_EXTEND_CHAR(c)!=-1&&(ISALNUM(c) || (c) == '_'))
static int static int
is_special_global_name(m) is_special_global_name(const char* m)
const char *m;
{ {
switch (*m) { switch (*m) {
case '~': case '*': case '$': case '?': case '!': case '@': case '~': case '*': case '$': case '?': case '!': case '@':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment