[ruby-cvs:68998] mame:r61817 (trunk): parse.y: Expand global-like accessor macros for struct parser_params

mame at ruby-lang.org mame at ruby-lang.org
Sun Jan 14 22:51:41 JST 2018


mame	2018-01-14 22:51:41 +0900 (Sun, 14 Jan 2018)

  New Revision: 61817

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

  Log:
    parse.y: Expand global-like accessor macros for struct parser_params
    
    For example, `lex_strterm` is expanded to `p->lex.strterm`.
    I believe that this expansion make the code straightforward.
    They look not so annoying because "parser" was renamed to "p".

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list