Skip to content

Commit cc599f6

Browse files
committed
Fixs, Ajout type erreur.
1 parent 87c0398 commit cc599f6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

headers/Utils/ErrorsFPL.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ void errorVariable(std::string& name) {
2323
else if (name == "basic") {
2424
std::cout << "FPL Erreur : Votre variable ne peut pas etre declare !" << std::endl;
2525
}
26+
}
27+
28+
void errorIntroduireVariable() {
29+
std::cout << "FPL Erreur : Pour introduire une variable dans votre message, merci d'ouvrir et de fermer les accolades : [NOM DE VOTRE VARIABLE] !" << std::endl;
2630
}

headers/Utils/ErrorsFPL.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
void errorInstruction();
66

7-
void errorVariable(std::string& name);
7+
void errorVariable(std::string& name);
8+
9+
void errorIntroduireVariable();

0 commit comments

Comments
 (0)