From 3e930217931379294b02b49fe98b44e138ddb8cf Mon Sep 17 00:00:00 2001 From: ala89 Date: Fri, 8 Dec 2023 09:41:57 +0100 Subject: [PATCH] Fix --- src/include/types.h | 1 + test/tokenize.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/types.h b/src/include/types.h index 53a2d7c..9dcbcdc 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -6,6 +6,7 @@ #include #include #include +#include using namespace std; /** diff --git a/test/tokenize.cpp b/test/tokenize.cpp index d9ed297..e8912a0 100644 --- a/test/tokenize.cpp +++ b/test/tokenize.cpp @@ -117,7 +117,7 @@ int main() { string input = "int a = 10 @;"; _TEST_ASSERT( - _TEST_IS_EXCEPTION(tokenize({ input }), TokenError), + _TEST_IS_EXCEPTION(tokenize({ input }), SyntaxError), "Token invalide", true )