Wrap all preprocessor code in the angle namespace.
BUG=836820
BUG=801364
Change-Id: I08b6a2f9f12b689e09df6efd916c313e71e8a051
Reviewed-on: https://chromium-review.googlesource.com/1028581
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
diff --git a/src/compiler/translator/util.cpp b/src/compiler/translator/util.cpp
index 5464ec5..7e5b937 100644
--- a/src/compiler/translator/util.cpp
+++ b/src/compiler/translator/util.cpp
@@ -14,7 +14,7 @@
bool atoi_clamp(const char *str, unsigned int *value)
{
- bool success = pp::numeric_lex_int(str, value);
+ bool success = angle::pp::numeric_lex_int(str, value);
if (!success)
*value = std::numeric_limits<unsigned int>::max();
return success;
@@ -184,7 +184,7 @@
bool strtof_clamp(const std::string &str, float *value)
{
// Try the standard float parsing path first.
- bool success = pp::numeric_lex_float(str, value);
+ bool success = angle::pp::numeric_lex_float(str, value);
// If the standard path doesn't succeed, take the path that can handle the following corner
// cases: