Skip to content

Commit 2671fd7

Browse files
committed
Fixs
1 parent 8dee181 commit 2671fd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "src/TokenBuilding.h"
22
#include "src/Parser.h"
3+
#include "src/FonctionDefinition.h"
34
#include <iostream>
45
#include <string>
56
#include <optional>
@@ -16,6 +17,6 @@ int main() {
1617
FPL::TokenBuilding t;
1718
std::vector<FPL::Token> tokens = t.parseToken(f_content);
1819
FPL::Parser parser;
19-
parser.parse(tokens, std::nullopt);
20+
parser.parse(tokens, (std::optional<FPL::FonctionDefinition> &) std::nullopt);
2021
return 0;
2122
}

0 commit comments

Comments
 (0)