[ruby-cvs:68247] yui-knk:r61066 (trunk): parse.y: Fix locations of dsym

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Thu Dec 7 12:00:37 JST 2017


yui-knk	2017-12-07 12:00:36 +0900 (Thu, 07 Dec 2017)

  New Revision: 61066

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

  Log:
    parse.y: Fix locations of dsym
    
    * parse.y: Fix to only include a range from tSTRING_BEG to tLABEL_END.
    
      e.g. The locations of the NODE_LIT is fixed:
    
      ```
      { "a": 10 }
      ```
    
      * Before
    
      ```
      NODE_LIT (line: 1, code_range: (1,2)-(1,9))
      ```
    
      * After
    
      ```
      NODE_LIT (line: 1, code_range: (1,2)-(1,6))
      ```

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list