[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:03015] Re: mismatched quotation

From: ts <decoux@...>
Date: 2000-05-28 12:18:23 UTC
List: ruby-talk #3015
>>>>> "H" == Hal E Fulton <hfulton@austin.rr.com> writes:

H> How do keywords really work in Ruby?

 Like an operator, in this case no ? in fname (def, undef, alias), or right
 after `.' and `::', you have no reserved words.

fname		: tIDENTIFIER
		| tCONSTANT
		| tFID
		| op
		    {
			lex_state = EXPR_END;
			$$ = $1;
		    }
		| reswords
		    {
			lex_state = EXPR_END;
			$$ = $<id>1;
		    }



Guy Decoux

In This Thread