Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1248)

Unified Diff: src/third_party/jscre/pcre_exec.cpp

Issue 12496: Add v8::jscre namespace around jscre functions to avoid link errors with jsc ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/third_party/jscre/pcre_compile.cpp ('k') | src/third_party/jscre/pcre_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/third_party/jscre/pcre_exec.cpp
===================================================================
--- src/third_party/jscre/pcre_exec.cpp (revision 848)
+++ src/third_party/jscre/pcre_exec.cpp (working copy)
@@ -61,6 +61,8 @@
#undef min
#undef max
+namespace v8 { namespace jscre {
+
#ifndef USE_COMPUTED_GOTO_FOR_MATCH_RECURSION
typedef int ReturnLocation;
#else
@@ -2079,3 +2081,5 @@
DPRINTF((">>>> returning PCRE_ERROR_NOMATCH\n"));
return JSRegExpErrorNoMatch;
}
+
+} } // namespace v8::jscre
« no previous file with comments | « src/third_party/jscre/pcre_compile.cpp ('k') | src/third_party/jscre/pcre_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698