aboutsummaryrefslogtreecommitdiffstats
path: root/src/psl/psl-rewrites.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-rewrites.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-rewrites.adb')
-rw-r--r--src/psl/psl-rewrites.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/psl/psl-rewrites.adb b/src/psl/psl-rewrites.adb
index e06ddd323..35bce015d 100644
--- a/src/psl/psl-rewrites.adb
+++ b/src/psl/psl-rewrites.adb
@@ -109,6 +109,8 @@ package body PSL.Rewrites is
Set_Right (N, Rewrite_Boolean (Get_Right (N)));
return N;
when N_HDL_Expr =>
+ return Get_HDL_Hash (N);
+ when N_HDL_Bool =>
return N;
when others =>
Error_Kind ("rewrite_boolean", N);