aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.cpp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 16:26:44 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 16:26:44 +0630
commita70dcf2e3ff5fd6e6fb88f395722eb1199a74693 (patch)
treeb92aa6bb316b9302519860a49df1bbf5c929a0ea /asm/lexer.cpp
parent5319fd815da58af6168c619209ff7a3c39eb2896 (diff)
downloadovm-a70dcf2e3ff5fd6e6fb88f395722eb1199a74693.tar.gz
ovm-a70dcf2e3ff5fd6e6fb88f395722eb1199a74693.tar.bz2
ovm-a70dcf2e3ff5fd6e6fb88f395722eb1199a74693.zip
~extern "C"~ when including lib/inst.h
Diffstat (limited to 'asm/lexer.cpp')
-rw-r--r--asm/lexer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/lexer.cpp b/asm/lexer.cpp
index 4e24ab7..82cf260 100644
--- a/asm/lexer.cpp
+++ b/asm/lexer.cpp
@@ -10,7 +10,10 @@
* Description: Lexer for assembly language
*/
+extern "C"
+{
#include <lib/inst.h>
+}
#include <algorithm>
#include <tuple>