]> git.saurik.com Git - cycript.git/blobdiff - Driver.hpp
Regular expressions cannot have alphabetic follow.
[cycript.git] / Driver.hpp
index 769ba26d24d1483b7de0ee6d6e15626b4baac0ac..5c330e794250de64a04aa64ea25eadb48f120252 100644 (file)
@@ -1,5 +1,5 @@
 /* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2014  Jay Freeman (saurik)
+ * Copyright (C) 2009-2015  Jay Freeman (saurik)
 */
 
 /* GNU Affero General Public License, Version 3 {{{ */
@@ -28,8 +28,7 @@
 #include <string>
 #include <vector>
 
-#include "location.hh"
-
+#include "Location.hpp"
 #include "Parser.hpp"
 
 enum CYState {
@@ -66,7 +65,7 @@ class CYDriver {
 
     struct Error {
         bool warning_;
-        cy::location location_;
+        CYLocation location_;
         std::string message_;
     };
 
@@ -116,7 +115,7 @@ class CYDriver {
     void PushCondition(Condition condition);
     void PopCondition();
 
-    void Warning(const cy::location &location, const char *message);
+    void Warning(const CYLocation &location, const char *message);
 };
 
 #endif/*CYCRIPT_DRIVER_HPP*/