diff trunk/src/dil/Parser.d @ 358:0faf57d99c1c

- Replaced calls to std.file.read() with dil.loadFile().
author aziz
date Sun, 26 Aug 2007 15:59:02 +0000
parents 2a56fe53383d
children 511c14950cac
line wrap: on
line diff
--- a/trunk/src/dil/Parser.d	Sun Aug 26 13:44:01 2007 +0000
+++ b/trunk/src/dil/Parser.d	Sun Aug 26 15:59:02 2007 +0000
@@ -4087,19 +4087,6 @@
     require(tok);
   }
 
-  string requireIdentifier()
-  {
-    string identifier;
-    if (token.type == T.Identifier)
-    {
-      identifier = token.identifier;
-      nT();
-    }
-    else
-      error(MID.ExpectedButFound, "Identifier", token.srcText);
-    return identifier;
-  }
-
   Token* requireId()
   {
     if (token.type == T.Identifier)