Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Apply assignation in expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Gashmob committed Aug 1, 2023
1 parent 3e70650 commit 4dd1902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/grammar/FilParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ expression returns[filc::ast::AbstractExpression *tree]
| v=variable_declaration {
$tree = $v.tree;
}
| assignation
| a=assignation {
$tree = $a.tree;
}
| unary_calcul
| expression binary_operator expression
| function
Expand Down

0 comments on commit 4dd1902

Please sign in to comment.