Skip to content

Commit 0d709cc

Browse files
committed
Fix.
1 parent f6483a2 commit 0d709cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Parser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ namespace FPL {
499499
variable.HasReturnValue = false;
500500
variable.InFonction = false;
501501
variable.VariableType = Type("bool", BOOL);
502+
variable.VariableValue = name->mText;
502503

503504
if (fonction.has_value() || fonction != std::nullopt) {
504505
variable.InFonction = true;
@@ -754,6 +755,7 @@ namespace FPL {
754755
variable.HasReturnValue = false;
755756
variable.InFonction = false;
756757
variable.VariableType = Type("bool", BOOL);
758+
variable.VariableValue = PossibleVariable->mText;
757759

758760
if (fonction.has_value() || fonction != std::nullopt) {
759761
variable.InFonction = true;

0 commit comments

Comments
 (0)