[ruby-cvs:67761] yui-knk:r60580 (trunk): Store lineno on RNode

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Mon Oct 30 22:36:21 JST 2017


yui-knk	2017-10-30 22:36:20 +0900 (Mon, 30 Oct 2017)

  New Revision: 60580

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

  Log:
    Store lineno on RNode
    
    * node.c (A_NODE_HEADER): Print lineno.
    
    * node.h (nd_column, nd_set_column): Store column
      number with 16-bit.
    * node.h (nd_lineno, nd_set_lineno): Define
      getter/setter macros for lineno of RNode.
    
    * parse.y : Set first lineno of tokens.
    
    Thanks to takeshinoda for review.

  Modified files:
    trunk/node.c
    trunk/node.h
    trunk/parse.y


More information about the ruby-cvs mailing list