[ruby-cvs:66356] nobu:r59178 (trunk): parse.y: mark error token

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Jun 26 18:40:39 JST 2017


nobu	2017-06-26 18:40:39 +0900 (Mon, 26 Jun 2017)

  New Revision: 59178

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59178

  Log:
    parse.y: mark error token
    
    * parse.y (parser_yyerror): mark the whole last token which caused
      the error, not only the end.
    
    before:
      ```
      if end
            ^
      ```
    
    after:
      ```
      if end
         ^~~
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list