From 854ae564a34910fe3bd13a83a3d4bfa10cf0d838 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 30 Apr 2014 10:27:05 +0900 Subject: fix embedded documents tabs are allowed after `=begin` and `=end`. raise `SyntaxError` if no =end is found. --- test/t/syntax.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/t/syntax.rb b/test/t/syntax.rb index 0bb3fa389..05d4a15b1 100644 --- a/test/t/syntax.rb +++ b/test/t/syntax.rb @@ -307,5 +307,8 @@ this is a comment that has =end with spaces after it =begin this is a comment this is a comment that has extra after =begin and =end with spaces after it =end +=begin this is a comment +this is a comment that has extra after =begin and =end with tabs after it +=end true end -- cgit v1.2.3