[ruby-cvs:68253] yui-knk:r61072 (trunk): parse.y: Fix locations of string

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Fri Dec 8 08:35:59 JST 2017


yui-knk	2017-12-08 08:35:59 +0900 (Fri, 08 Dec 2017)

  New Revision: 61072

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

  Log:
    parse.y: Fix locations of string
    
    * parse.y: Fix to include locations of tSTRING_BEG and tSTRING_END.
    
      e.g. The locations of the NODE_STR is fixed:
    
      ```
      "a"
      ```
    
      * Before
    
      ```
      NODE_STR (line: 1, code_range: (1,1)-(1,2))
      ```
    
      * After
    
      ```
      NODE_STR (line: 1, code_range: (1,0)-(1,3))
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list