Index: src/d8.cc |
=================================================================== |
--- src/d8.cc (revision 1325) |
+++ src/d8.cc (working copy) |
@@ -419,8 +419,8 @@ |
} |
-static char* ReadToken(const char* data, char token) { |
- char* next = ::strchr(data, token); |
+static char* ReadToken(char* data, char token) { |
+ char* next = i::OS::StrChr(data, token); |
if (next != NULL) { |
*next = '\0'; |
return (next + 1); |
@@ -430,12 +430,12 @@ |
} |
-static char* ReadLine(const char* data) { |
+static char* ReadLine(char* data) { |
return ReadToken(data, '\n'); |
} |
-static char* ReadWord(const char* data) { |
+static char* ReadWord(char* data) { |
return ReadToken(data, ' '); |
} |