diff options
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 013730c52..d5ca2d320 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -91,16 +91,16 @@ public: // Generic S-Expression parsing into lists // class SExpressionParser { - char* input; + const char* input; size_t line; - char* lineStart; + char const* lineStart; SourceLocation* loc = nullptr; MixedArena allocator; public: // Assumes control of and modifies the input. - SExpressionParser(char* input); + SExpressionParser(const char* input); Element* root; private: |