summaryrefslogtreecommitdiff
path: root/src/ast-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast-writer.cc')
-rw-r--r--src/ast-writer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast-writer.cc b/src/ast-writer.cc
index 46abed59..ebf5a469 100644
--- a/src/ast-writer.cc
+++ b/src/ast-writer.cc
@@ -33,6 +33,8 @@
namespace wabt {
+namespace {
+
static const uint8_t s_is_char_escaped[] = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -69,6 +71,8 @@ struct Context {
int func_type_index;
};
+} // namespace
+
static void indent(Context* ctx) {
ctx->indent += INDENT_SIZE;
}