diff options
| author | Nobuyoshi Nakada <[email protected]> | 2014-04-30 10:27:05 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <[email protected]> | 2014-05-03 08:42:31 +0900 |
| commit | 854ae564a34910fe3bd13a83a3d4bfa10cf0d838 (patch) | |
| tree | a85dd32b1cc2c15a2d74e3c7d630cdba2016fa27 /test/t/syntax.rb | |
| parent | 69c6ff7aa06045a3fdaf6a134041e9206cb95a9e (diff) | |
| download | mruby-854ae564a34910fe3bd13a83a3d4bfa10cf0d838.tar.gz mruby-854ae564a34910fe3bd13a83a3d4bfa10cf0d838.zip | |
fix embedded documents
tabs are allowed after `=begin` and `=end`.
raise `SyntaxError` if no =end is found.
Diffstat (limited to 'test/t/syntax.rb')
| -rw-r--r-- | test/t/syntax.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
