diff src/dil/lexer/Lexer.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 d659f7aa055c
children 451ede0105e0
line wrap: on
line diff
--- a/src/dil/lexer/Lexer.d	Sat Jun 07 14:57:14 2008 +0200
+++ b/src/dil/lexer/Lexer.d	Tue Jul 01 22:52:54 2008 +0200
@@ -19,6 +19,7 @@
 
 import tango.stdc.stdlib : strtof, strtod, strtold;
 import tango.stdc.errno : errno, ERANGE;
+import tango.core.Vararg;
 
 public import dil.lexer.Funcs;
 
@@ -2502,7 +2503,7 @@
   ///   columnPos = points to the character where the error is located.
   ///   msg = the message.
   void error_(uint lineNum, char* lineBegin, char* columnPos, char[] msg,
-              TypeInfo[] _arguments, Arg _argptr)
+              TypeInfo[] _arguments, va_list _argptr)
   {
     lineNum = this.errorLineNumber(lineNum);
     auto errorPath = this.filePaths.setPath;