X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/dc5d7cf41a141ba83d66f97957bd7742a8adbc4f..13c7f2fb8fc0619c8da1b5c8a697f7894479b070:/Highlight.cpp diff --git a/Highlight.cpp b/Highlight.cpp index 0a077a8..7cb96ee 100644 --- a/Highlight.cpp +++ b/Highlight.cpp @@ -24,6 +24,7 @@ #include "Cycript.tab.hh" #include "Driver.hpp" +#include "Code.hpp" static void Skip(const char *data, size_t size, std::ostream &output, size_t &offset, cy::position ¤t, cy::position target) { while (current.line != target.line || current.column != target.column) { @@ -79,6 +80,7 @@ void CYLexerHighlight(const char *data, size_t size, std::ostream &output, bool case hi::Meta: color = CYColor(false, 32); break; case hi::Nothing: color = CYColor(false, 0); break; case hi::Operator: color = CYColor(false, 36); break; + case hi::Special: color = CYColor(false, 35); break; case hi::Structure: color = CYColor(true, 34); break; case hi::Type: color = CYColor(true, 34); break;