Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

handling nested scopes

  • Loading branch information...
commit 411d05cdab09dcb2ee585b2b5c98977664fd4941 1 parent a6ad673
@tenderlove authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/yacc.y
View
4 lib/yacc.y
@@ -210,7 +210,9 @@ interface_name
scoped_name
: T_IDENTIFIER { result = ScopedName.new([], :name => val[0]) }
| T_SCOPE T_IDENTIFIER { result = ScopedName.new([], :name => val[0]) }
- | scoped_name T_SCOPE T_IDENTIFIER
+ | scoped_name T_SCOPE T_IDENTIFIER {
+ ScopedName.new([val[0]].flatten, :name => val[2])
+ }
;
/*13*/
Please sign in to comment.
Something went wrong with that request. Please try again.