]> git.saurik.com Git - cycript.git/blobdiff - Highlight.cpp
Allow a * on a CString to get the first character.
[cycript.git] / Highlight.cpp
index addd757ec19f3cc47e14d02061441cd4626ea493..a2926d3a51d2b539e45f7019614126baf8062059 100644 (file)
@@ -1,5 +1,5 @@
-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2015  Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016  Jay Freeman (saurik)
 */
 
 /* GNU Affero General Public License, Version 3 {{{ */
@@ -34,9 +34,9 @@ static void Skip(const char *data, size_t size, std::ostream &output, size_t &of
 
         _assert(current.line < target.line || current.line == target.line && current.column < target.column);
         if (next == '\n')
-            current.lines();
+            current.Lines();
         else
-            current.columns();
+            current.Columns();
     }
 }