aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-parse.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-01 11:02:25 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-02 20:40:55 +0200
commitfdd89d0259d35d76c56770c74f6ffee8b5ebf239 (patch)
treeb26d1ad5c2e388fcfa7859b53560f873d3cf9915 /src/vhdl/vhdl-parse.adb
parentc6ee7f41e2f86d8d46cd559f32cd290b99b46178 (diff)
downloadghdl-fdd89d0259d35d76c56770c74f6ffee8b5ebf239.tar.gz
ghdl-fdd89d0259d35d76c56770c74f6ffee8b5ebf239.tar.bz2
ghdl-fdd89d0259d35d76c56770c74f6ffee8b5ebf239.zip
vhdl: renames Conditional_Expression to Conditional_Expression_Chain.
Diffstat (limited to 'src/vhdl/vhdl-parse.adb')
-rw-r--r--src/vhdl/vhdl-parse.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vhdl/vhdl-parse.adb b/src/vhdl/vhdl-parse.adb
index e79f31526..094889e28 100644
--- a/src/vhdl/vhdl-parse.adb
+++ b/src/vhdl/vhdl-parse.adb
@@ -6758,7 +6758,7 @@ package body Vhdl.Parse is
-- expression WHEN condition
-- { ELSE expression WHEN condition }
-- [ ELSE expression ]
- function Parse_Conditional_Expression (Expr : Iir) return Iir
+ function Parse_Conditional_Expression_Chain (Expr : Iir) return Iir
is
Res : Iir;
El, N_El : Iir;
@@ -6790,7 +6790,7 @@ package body Vhdl.Parse is
end loop;
return Res;
- end Parse_Conditional_Expression;
+ end Parse_Conditional_Expression_Chain;
-- precond: ':='
-- postcond: next token
@@ -6820,8 +6820,8 @@ package body Vhdl.Parse is
Create_Iir (Iir_Kind_Conditional_Variable_Assignment_Statement);
Set_Location (Stmt, Loc);
Set_Target (Stmt, Target);
- Set_Conditional_Expression
- (Stmt, Parse_Conditional_Expression (Expr));
+ Set_Conditional_Expression_Chain
+ (Stmt, Parse_Conditional_Expression_Chain (Expr));
else
Stmt := Create_Iir (Iir_Kind_Variable_Assignment_Statement);
Set_Location (Stmt, Loc);