projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9350e1a
)
Add constructed constructor expression into AST when parsing header
author
Marek Safar
<marek.safar@gmail.com>
Wed, 11 Jan 2012 17:51:20 +0000
(17:51 +0000)
committer
Marek Safar
<marek.safar@gmail.com>
Wed, 11 Jan 2012 17:53:03 +0000
(17:53 +0000)
mcs/mcs/cs-parser.jay
patch
|
blob
|
history
diff --git
a/mcs/mcs/cs-parser.jay
b/mcs/mcs/cs-parser.jay
index a98a4cf023e4b00e2dbf2892ed6c40c52e1fd232..4834e0bf8250ea599bab56e371f541bf3262f010 100644
(file)
--- a/
mcs/mcs/cs-parser.jay
+++ b/
mcs/mcs/cs-parser.jay
@@
-2079,8
+2079,6
@@
constructor_declaration
if (doc_support)
c.DocComment = ConsumeStoredComment ();
- current_container.AddConstructor (c);
-
current_local_parameters = null;
if (doc_support)
Lexer.doc_state = XmlCommentState.Allowed;
@@
-2118,6
+2116,7
@@
constructor_declarator
}
}
+ current_container.AddConstructor (c);
lbag.AddMember (c, mod_locations, GetLocation ($5), GetLocation ($7));
$$ = c;