1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

sigh, fix another copy of ParentNameSpace

This commit is contained in:
Kevin Glynn 2011-01-12 09:37:14 +01:00
parent 1a23eafe90
commit 5f60ecc908

View File

@ -80,7 +80,7 @@ scope NSContext {
protected string ParentNameSpace {
get {
return ((NSContext_scope)$NSContext.ToArray()[$NSContext.Count-2]).currentNS;
return ((NSContext_scope)$NSContext.ToArray()[1]).currentNS;
}
}
@ -175,7 +175,7 @@ modifier:
class_member_declaration:
attributes?
// TODO: Don't emit private
// TODO: Don't emit private ?????
m=modifiers?
( 'const' ct=type constant_declarators[$ct.thetext] ';'
| event_declaration // 'event'