mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
must be typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8729368f14
commit
2209f072fc
1 changed files with 5 additions and 5 deletions
10
parse.y
10
parse.y
|
@ -57,11 +57,11 @@ static ID register_symid(ID, const char *, long, rb_encoding *);
|
|||
|
||||
enum lex_state_e {
|
||||
EXPR_BEG, /* ignore newline, +/- is a sign. */
|
||||
EXPR_END, /* newline significant, +/- is a operator. */
|
||||
EXPR_END, /* newline significant, +/- is an operator. */
|
||||
EXPR_ENDARG, /* ditto, and unbound braces. */
|
||||
EXPR_ARG, /* newline significant, +/- is a operator. */
|
||||
EXPR_CMDARG, /* newline significant, +/- is a operator. */
|
||||
EXPR_MID, /* newline significant, +/- is a operator. */
|
||||
EXPR_ARG, /* newline significant, +/- is an operator. */
|
||||
EXPR_CMDARG, /* newline significant, +/- is an operator. */
|
||||
EXPR_MID, /* newline significant, +/- is an operator. */
|
||||
EXPR_FNAME, /* ignore newline, no reserved words. */
|
||||
EXPR_DOT, /* right after `.' or `::', no reserved words. */
|
||||
EXPR_CLASS, /* immediate after `class', no here document. */
|
||||
|
@ -10117,7 +10117,7 @@ ripper_s_allocate(VALUE klass)
|
|||
* Ripper.new(src, filename="(ripper)", lineno=1) -> ripper
|
||||
*
|
||||
* Create a new Ripper object.
|
||||
* _src_ must be a String, a IO, or an Object which has #gets method.
|
||||
* _src_ must be a String, an IO, or an Object which has #gets method.
|
||||
*
|
||||
* This method does not starts parsing.
|
||||
* See also Ripper#parse and Ripper.parse.
|
||||
|
|
Loading…
Reference in a new issue