ruby-changes:49885
From: nobu <ko1@a...>
Date: Mon, 22 Jan 2018 00:26:26 +0900 (JST)
Subject: [ruby-changes:49885] nobu:r62002 (trunk): parse.y: add EXPR_NONE
nobu 2018-01-22 00:26:19 +0900 (Mon, 22 Jan 2018) New Revision: 62002 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62002 Log: parse.y: add EXPR_NONE Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 62001) +++ parse.y (revision 62002) @@ -104,7 +104,8 @@ enum lex_state_e { https://github.com/ruby/ruby/blob/trunk/parse.y#L104 EXPR_VALUE = EXPR_BEG, EXPR_BEG_ANY = (EXPR_BEG | EXPR_MID | EXPR_CLASS), EXPR_ARG_ANY = (EXPR_ARG | EXPR_CMDARG), - EXPR_END_ANY = (EXPR_END | EXPR_ENDARG | EXPR_ENDFN) + EXPR_END_ANY = (EXPR_END | EXPR_ENDARG | EXPR_ENDFN), + EXPR_NONE = 0 }; #define IS_lex_state_for(x, ls) ((x) & (ls)) #define IS_lex_state_all_for(x, ls) (((x) & (ls)) == (ls)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/