Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / src / asm / token.hpp
diff options
context:
space:
mode:
Commit9468ccb2024e850bacfcddcabc5402968c29b956 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-22 14:17:21 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-22 14:17:21 +0200
Files3dd2ecc4577e02495123ace7982cb25a3bb922d5 /spasm/src/asm/token.hpp
IPL-9468ccb2024e850bacfcddcabc5402968c29b956.tar
IPL-9468ccb2024e850bacfcddcabc5402968c29b956.tar.gz
IPL-9468ccb2024e850bacfcddcabc5402968c29b956.zip
Parent3ce342b97b6c22b7ce6dded7be7b5c6bf9edcc04 (diff)
Fixed linux build
1 files changed, 3 insertions, 3 deletions
-rw-r--r--spasm/src/asm/token.hpp6
diff --git a/spasm/src/asm/token.hpp b/spasm/src/asm/token.hpp
index 6c64e89..8f18768 100644
--- a/spasm/src/asm/token.hpp
+++ b/spasm/src/asm/token.hpp
@@ -58,8 +58,8 @@ class Token
size_t lineno() const;
- int value_int() const;
- void set_int(int v) { _value_int = v; }
+ int64_t value_int() const;
+ void set_int(int64_t v) { _value_int = v; }
double value_double() const { return _value_double; }
@@ -70,7 +70,7 @@ class Token
size_t _lineno;
- int _value_int;
+ int64_t _value_int;
double _value_double;
std::string _value_str;