Project

General

Profile

This project is closed and read-only.

Actions

Backport #8375

closed

Lexer error when specific character sequence occurs in string literals

Backport #8375: Lexer error when specific character sequence occurs in string literals

Added by dimitri-lo2u (Dimitri Geshef) over 13 years ago. Updated about 13 years ago.

Status:
Closed
[ruby-core:54846]

Description

The next line causes lexer/parser error:

problematic_string = "#$%"

The error message is: unterminated string meets end of file

The bug occurs in MRI1.9.3... ruby -v = ruby 1.9.3p374 (2013-01-15) [i386-mingw32]

... and in 2.0.0 ruby -v = ruby 2.0.0p0 (2013-02-24) [i386-mingw32]

Actions

Also available in: PDF Atom