diff options
Diffstat (limited to 'src/wat-lexer.h')
-rw-r--r-- | src/wat-lexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wat-lexer.h b/src/wat-lexer.h index d5c3b33ce..057d7eed7 100644 --- a/src/wat-lexer.h +++ b/src/wat-lexer.h @@ -69,6 +69,8 @@ struct FloatTok { // The payload if we lexed a nan with payload. We cannot store the payload // directly in `d` because we do not know at this point whether we are parsing // an f32 or f64 and therefore we do not know what the allowable payloads are. + // No payload with NaN means to use the default payload for the expected float + // width. std::optional<uint64_t> nanPayload; double d; |