diff src/dil/parser/Parser.d @ 829:55c463c57d3a

Fixed variable argument parameter issue.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Tue, 01 Jul 2008 22:52:54 +0200
parents fde064aca673
children
line wrap: on
line diff
--- a/src/dil/parser/Parser.d	Sat Jun 07 14:57:14 2008 +0200
+++ b/src/dil/parser/Parser.d	Tue Jul 01 22:52:54 2008 +0200
@@ -20,6 +20,8 @@
 import dil.Unicode;
 import common;
 
+import tango.core.Vararg;
+
 /// The Parser produces a full parse tree by examining
 /// the list of tokens provided by the Lexer.
 class Parser
@@ -4120,7 +4122,7 @@
   /// Params:
   ///   token = used to get the location of where the error is.
   ///   formatMsg = the compiler error message.
-  void error_(Token* token, char[] formatMsg, TypeInfo[] _arguments, Arg _argptr)
+  void error_(Token* token, char[] formatMsg, TypeInfo[] _arguments, va_list _argptr)
   {
     if (trying)
     {