~extern "C"~ when including lib/inst.h
This commit is contained in:
@@ -10,7 +10,10 @@
|
|||||||
* Description: Lexer for assembly language
|
* Description: Lexer for assembly language
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
#include <lib/inst.h>
|
#include <lib/inst.h>
|
||||||
|
}
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|||||||
@@ -18,7 +18,10 @@
|
|||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
#include <lib/inst.h>
|
#include <lib/inst.h>
|
||||||
|
}
|
||||||
|
|
||||||
#include "./base.hpp"
|
#include "./base.hpp"
|
||||||
#include "./lexer.hpp"
|
#include "./lexer.hpp"
|
||||||
|
|||||||
Reference in New Issue
Block a user