summaryrefslogtreecommitdiff
path: root/src/wasm-ast-lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-ast-lexer.c')
-rw-r--r--src/wasm-ast-lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-ast-lexer.c b/src/wasm-ast-lexer.c
index 3b11a305..362600b3 100644
--- a/src/wasm-ast-lexer.c
+++ b/src/wasm-ast-lexer.c
@@ -407,7 +407,7 @@ int wasm_ast_lexer_lex(WASM_AST_PARSER_STYPE* lval,
<i> "i64.reinterpret/f64" { OPCODE(I64_REINTERPRET_F64); RETURN(CONVERT); }
<i> "select" { RETURN(SELECT); }
<i> "unreachable" { RETURN(UNREACHABLE); }
- <i> "memory_size" { RETURN(MEMORY_SIZE); }
+ <i> "current_memory" { RETURN(CURRENT_MEMORY); }
<i> "grow_memory" { RETURN(GROW_MEMORY); }
<i> "type" { RETURN(TYPE); }
<i> "func" { RETURN(FUNC); }