summaryrefslogtreecommitdiffstats
path: root/ext/racc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-29 07:54:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-29 07:54:38 +0000
commit79dbf702ddacdf69d06b05b2d9bb788bfc6b265b (patch)
treee367d6d1ba65d30139ae43891b52edfe71be8fca /ext/racc
parent7191aa1b41ecde2747988bc3070b28a27cca2aad (diff)
downloadruby-79dbf702ddacdf69d06b05b2d9bb788bfc6b265b.tar.gz
ruby-79dbf702ddacdf69d06b05b2d9bb788bfc6b265b.tar.xz
ruby-79dbf702ddacdf69d06b05b2d9bb788bfc6b265b.zip
* exception message clean-up by Ian Macdonald <ian@caliban.org>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/racc')
-rw-r--r--ext/racc/cparse/cparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c
index c15aaf590..24c4e36f2 100644
--- a/ext/racc/cparse/cparse.c
+++ b/ext/racc/cparse/cparse.c
@@ -733,7 +733,7 @@ reduce0(val, data, self)
/* calculate transition state */
if (RARRAY(v->state)->len == 0)
- rb_raise(RaccBug, "state stack unexpected empty");
+ rb_raise(RaccBug, "state stack unexpectedly empty");
k2 = num_to_long(LAST_I(v->state));
k1 = num_to_long(reduce_to) - v->nt_base;
D_printf("(goto) k1=%ld\n", k1);