summaryrefslogtreecommitdiff
path: root/src/wat-lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wat-lexer.h')
-rw-r--r--src/wat-lexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wat-lexer.h b/src/wat-lexer.h
index 057d7eed7..5a955f5c0 100644
--- a/src/wat-lexer.h
+++ b/src/wat-lexer.h
@@ -55,11 +55,11 @@ struct IdTok {
friend std::ostream& operator<<(std::ostream&, const IdTok&);
};
-enum Signedness { Unsigned, Signed };
+enum Sign { NoSign, Pos, Neg };
struct IntTok {
uint64_t n;
- Signedness signedness;
+ Sign sign;
bool operator==(const IntTok&) const;
friend std::ostream& operator<<(std::ostream&, const IntTok&);