summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--parse.y1
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index de9e4f42fb..db5b988524 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,8 +3,10 @@ Tue Jun 7 17:20:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (parser_yylex): allow ';;' to be block terminator in
place of 'end'. [highly experimental]
- * misc/ruby-mode.el (ruby-block-end-re): allow ';;' for a negative
- indent trigger. [highly experimental]
+ * misc/ruby-mode.el (ruby-block-end-re): allow ';;' to be a
+ negative indent trigger. [highly experimental]
+
+ * parse.y (parser_yylex): small error fixed.
Tue Jun 7 16:45:49 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
diff --git a/parse.y b/parse.y
index 0037f603d4..d7107614ed 100644
--- a/parse.y
+++ b/parse.y
@@ -6309,6 +6309,7 @@ parser_yylex(parser)
return kEND;
}
pushback(c);
+ c = ';';
command_start = Qtrue;
case ',':
lex_state = EXPR_BEG;