Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Teixeira <monoman@gmail.com>2003-10-18 02:11:45 +0400
committerRafael Teixeira <monoman@gmail.com>2003-10-18 02:11:45 +0400
commit699f27b68c328efc5afb385fe2c26962d957b020 (patch)
treeb06bc46388d65f7cb080f4430244fe11503a7737 /mcs/class/System/Microsoft.VisualBasic
parent8ce426cfe3bbd10f62c3e75d694148d2f29de944 (diff)
2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file names block * Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be ".Item(xx)" svn path=/trunk/mcs/; revision=19149
Diffstat (limited to 'mcs/class/System/Microsoft.VisualBasic')
-rw-r--r--mcs/class/System/Microsoft.VisualBasic/ChangeLog5
-rw-r--r--mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler.cs2
-rw-r--r--mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs2
3 files changed, 8 insertions, 1 deletions
diff --git a/mcs/class/System/Microsoft.VisualBasic/ChangeLog b/mcs/class/System/Microsoft.VisualBasic/ChangeLog
index 2ac17a5af8e..882629e82d7 100644
--- a/mcs/class/System/Microsoft.VisualBasic/ChangeLog
+++ b/mcs/class/System/Microsoft.VisualBasic/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
+
+ * Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file names block
+ * Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be ".Item(xx)"
+
2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Microsoft.VisualBasic/VBCodeCompiler.cs: New.
diff --git a/mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler.cs b/mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler.cs
index 0b9cc1bf8a0..efeb0ad5c51 100644
--- a/mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler.cs
+++ b/mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler.cs
@@ -172,6 +172,8 @@ namespace Microsoft.VisualBasic
args.AppendFormat ("/r:\"{0}\" ", import);
}
+ args.AppendFormat(" -- "); // makes mbas not try to process filenames as options
+
foreach (string source in fileNames)
args.AppendFormat("\"{0}\" ",source);
diff --git a/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs b/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs
index b804aa99e42..1ebe60cd23d 100644
--- a/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs
+++ b/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs
@@ -190,7 +190,7 @@ namespace Microsoft.VisualBasic
TextWriter output = Output;
GenerateExpression (expression.TargetObject);
- output.Write ('(');
+ output.Write ('.Item(');
OutputExpressionList (expression.Indices);
output.Write (')');
}