summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 13f424f7c..d9c8ecfe1 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -974,7 +974,7 @@ private:
mustMatch(name.str);
skipWhitespace();
}
- if (match(".align")) {
+ if (match(".align") || match(".p2align")) {
align = getInt();
skipWhitespace();
}