~extern "C"~ when including lib/inst.h

This commit is contained in:
2024-04-15 16:26:44 +06:30
parent 5319fd815d
commit a70dcf2e3f
2 changed files with 6 additions and 0 deletions

View File

@@ -10,7 +10,10 @@
* Description: Lexer for assembly language
*/
extern "C"
{
#include <lib/inst.h>
}
#include <algorithm>
#include <tuple>

View File

@@ -18,7 +18,10 @@
#include <tuple>
#include <vector>
extern "C"
{
#include <lib/inst.h>
}
#include "./base.hpp"
#include "./lexer.hpp"