Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

handling nested scopes

  • Loading branch information...
commit 411d05cdab09dcb2ee585b2b5c98977664fd4941 1 parent a6ad673
Aaron Patterson authored August 13, 2008

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  lib/yacc.y
4  lib/yacc.y
@@ -210,7 +210,9 @@ interface_name
210 210
 scoped_name
211 211
 	: T_IDENTIFIER { result = ScopedName.new([], :name => val[0]) }
212 212
   | T_SCOPE T_IDENTIFIER { result = ScopedName.new([], :name => val[0]) }
213  
-	| scoped_name T_SCOPE T_IDENTIFIER
  213
+	| scoped_name T_SCOPE T_IDENTIFIER {
  214
+      ScopedName.new([val[0]].flatten, :name => val[2])
  215
+    }
214 216
 	;
215 217
 
216 218
 /*13*/

0 notes on commit 411d05c

Please sign in to comment.
Something went wrong with that request. Please try again.