|
@@ -1,6 +1,7 @@
|
|
|
#ifndef FORTH_KATA_TOKEN_H
|
|
|
#define FORTH_KATA_TOKEN_H
|
|
|
|
|
|
+#include <cstdint>
|
|
|
#include <iosfwd>
|
|
|
#include <stdexcept>
|
|
|
#include <string>
|
|
@@ -15,7 +16,7 @@ namespace token {
|
|
|
*/
|
|
|
struct Number final
|
|
|
{
|
|
|
- int value; ///< The numeric value of the token.
|
|
|
+ std::int16_t value; ///< The numeric value of the token.
|
|
|
|
|
|
bool operator==(Number const &rhs) const noexcept;
|
|
|
|