[Monodevelop-patches-list] r2615 - in trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory: . src/Parser/generated
Jacob Ilsø Christensen <jacobilsoe@gmail.com>
jacobilsoe at mono-cvs.ximian.com
Thu Jun 30 14:25:49 EDT 2005
Author: jacobilsoe
Date: 2005-06-30 14:25:49 -0400 (Thu, 30 Jun 2005)
New Revision: 2615
Modified:
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/ChangeLog
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/cs.ATG
Log:
Fixed location of ParameterDeclarationExpressions
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/ChangeLog 2005-06-30 18:09:49 UTC (rev 2614)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/ChangeLog 2005-06-30 18:25:49 UTC (rev 2615)
@@ -1,3 +1,10 @@
+2005-06-30 Jacob Ilsø Christensen <jacobilsoe at gmail.com>
+
+ * src/Parser/generated/cs.ATG:
+ * src/Parser/generated/Parser.cs: Make sure that
+ ParameterDeclarationExpressions have their location
+ set correctly.
+
2005-06-13 Jacob Ilsø Christensen <jacobilsoe at gmail.com>
* src/Parser/generated/cs.ATG:
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.cs
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.cs 2005-06-30 18:09:49 UTC (rev 2614)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.cs 2005-06-30 18:25:49 UTC (rev 2615)
@@ -2494,7 +2494,7 @@
Expect(1);
#line 937 "cs.ATG"
- p = new ParameterDeclarationExpression(type, t.val, mod);
+ p = new ParameterDeclarationExpression(type, t.val, mod); p.StartLocation = t.Location;
}
void ParameterArray(
@@ -2510,7 +2510,7 @@
Expect(1);
#line 943 "cs.ATG"
- p = new ParameterDeclarationExpression(type, t.val, ParamModifiers.Params);
+ p = new ParameterDeclarationExpression(type, t.val, ParamModifiers.Params); p.StartLocation = t.Location;
}
void AccessorModifier(
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/cs.ATG
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/cs.ATG 2005-06-30 18:09:49 UTC (rev 2614)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/cs.ATG 2005-06-30 18:25:49 UTC (rev 2615)
@@ -934,13 +934,13 @@
"ref" (. mod = ParamModifiers.Ref; .)
| "out" (. mod = ParamModifiers.Out; .)
]
- Type<out type> ident (. p = new ParameterDeclarationExpression(type, t.val, mod); .)
+ Type<out type> ident (. p = new ParameterDeclarationExpression(type, t.val, mod); p.StartLocation = t.Location; .)
.
ParameterArray<out ParameterDeclarationExpression p>
(. TypeReference type; .)
=
- "params" Type<out type> ident (. p = new ParameterDeclarationExpression(type, t.val, ParamModifiers.Params); .)
+ "params" Type<out type> ident (. p = new ParameterDeclarationExpression(type, t.val, ParamModifiers.Params); p.StartLocation = t.Location; .)
.
TypeModifier<Modifiers m>
More information about the Monodevelop-patches-list
mailing list