X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/f95d2598051e347460e028286ff2d33e5825e548..0da459fc3a86dc9ca5592dda75cea37ec73272b6:/Driver.hpp diff --git a/Driver.hpp b/Driver.hpp index 769ba26..5c330e7 100644 --- a/Driver.hpp +++ b/Driver.hpp @@ -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 #include -#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*/