summaryrefslogtreecommitdiffstats
path: root/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-22 04:09:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-22 04:09:24 +0000
commitc1ea6b2de46dcd559df4d05b8f230c5a7f5c3f09 (patch)
tree91d0af7f1c0a88817d1d088b1010c891f8149301 /intern.h
parente9950cd3e94ed8b8444eb6c600cb72af065c415e (diff)
downloadruby-c1ea6b2de46dcd559df4d05b8f230c5a7f5c3f09.tar.gz
ruby-c1ea6b2de46dcd559df4d05b8f230c5a7f5c3f09.tar.xz
ruby-c1ea6b2de46dcd559df4d05b8f230c5a7f5c3f09.zip
* object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
if valid as a symbol name more strictly. [ruby-dev:27478] * test/ruby/test_symbol.rb: tests for [ruby-core:03573]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 8ab5cd3d9..818fcf891 100644
--- a/intern.h
+++ b/intern.h
@@ -335,6 +335,7 @@ int rb_is_instance_id _((ID));
int rb_is_class_id _((ID));
int rb_is_local_id _((ID));
int rb_is_junk_id _((ID));
+int rb_symname_p _((const char*));
VALUE rb_backref_get _((void));
void rb_backref_set _((VALUE));
VALUE rb_lastline_get _((void));