Project

General

Profile

« Previous | Next » 

Revision c56f6116

Added by nobu (Nobuyoshi Nakada) over 6 years ago

parse.y: token name of tSTRING_DEND

  • parse.y (rb_yytnamerr): show single-quoted single char as-is, to
    show a quoted closing brace as tSTRING_DEND. e.g.:

    $ ./ruby -e '"#{true'
    -e:1: syntax error, unexpected end-of-input, expecting '}'
    

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e