Skip to content

Commit 76cc903

Browse files
committed
Fixs + Ajouts.
1 parent a859ae7 commit 76cc903

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Parser.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace FPL {
2222

2323
void parse(std::vector<Token> &tokens);
2424

25-
void DebugPrint() const;
25+
[[maybe_unused]] void DebugPrint() const;
2626

2727
private:
2828
// Essentielles:
@@ -39,19 +39,19 @@ namespace FPL {
3939
std::map<std::string, VariableDefinition> mVariables;
4040
bool isVariable(std::string &name);
4141
bool VariableInstruction();
42+
bool ChangerInstruction();
4243

4344
// Fonctions :
44-
bool FunctionChecker(auto parseStart);
45+
bool FonctionInstruction(auto parseStart);
46+
bool AppelerInstruction(auto parseStart);
47+
bool isFonction(std::string &name);
4548
std::map<std::string, FonctionDefinition> mFonctions;
4649

4750

4851
// Utils :
52+
bool ManagerInstruction(auto& token);
4953
std::vector<Token>::iterator mCurrentToken;
5054
std::vector<Token>::iterator mEndToken;
5155
std::map<std::string, Type> mTypes;
52-
53-
bool ManagerInstruction();
54-
55-
bool ChangerInstruction();
5656
};
5757
}

0 commit comments

Comments
 (0)