aboutsummaryrefslogtreecommitdiffstats
path: root/src/psl/psl-hash.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-11 21:09:39 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-13 06:30:27 +0100
commitd70084ccb149ff4f5fca072c672b1f3d040358a9 (patch)
tree1b2cb2172368b02be2f5c92bab1f59583ec4dec9 /src/psl/psl-hash.adb
parent5c398db1b18a346cf2cb25acac07b068ccd7deee (diff)
downloadghdl-d70084ccb149ff4f5fca072c672b1f3d040358a9.tar.gz
ghdl-d70084ccb149ff4f5fca072c672b1f3d040358a9.tar.bz2
ghdl-d70084ccb149ff4f5fca072c672b1f3d040358a9.zip
psl: keep denoting names in the PSL ast.
Diffstat (limited to 'src/psl/psl-hash.adb')
-rw-r--r--src/psl/psl-hash.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/psl/psl-hash.adb b/src/psl/psl-hash.adb
index b2bdccc79..89394c97d 100644
--- a/src/psl/psl-hash.adb
+++ b/src/psl/psl-hash.adb
@@ -53,7 +53,7 @@ package body PSL.Hash is
-- In the primary table.
Res := Cells.Table (Idx).Res;
if Res = Null_Node then
- Res := Create_Node (N_HDL_Expr);
+ Res := Create_Node (N_HDL_Bool);
Set_HDL_Node (Res, Hdl);
Cells.Table (Idx).Res := Res;
return Res;
@@ -69,7 +69,7 @@ package body PSL.Hash is
Idx := N_Idx;
Res := Cells.Table (Idx).Res;
end loop;
- Res := Create_Node (N_HDL_Expr);
+ Res := Create_Node (N_HDL_Bool);
Set_HDL_Node (Res, Hdl);
Cells.Append ((Res => Res, Next => No_Index));
Cells.Table (Idx).Next := Cells.Last;