aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/Makefile2
-rwxr-xr-xsrc/vhdl/python/pnodespy.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/Makefile b/src/vhdl/Makefile
index be42197a5..6eb52cfae 100644
--- a/src/vhdl/Makefile
+++ b/src/vhdl/Makefile
@@ -96,7 +96,7 @@ python/libghdl/elocations.py: $(PNODESPY) vhdl-elocations.ads
$(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-elocs > $@
chmod -w $@
-python/libghdl/errorout.py: $(PNODESPY) errorout.ads
+python/libghdl/errorout.py: $(PNODESPY) ../errorout.ads
$(RM) $@
$(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-errorout > $@
chmod -w $@
diff --git a/src/vhdl/python/pnodespy.py b/src/vhdl/python/pnodespy.py
index bcc8d9fbe..54a025e1f 100755
--- a/src/vhdl/python/pnodespy.py
+++ b/src/vhdl/python/pnodespy.py
@@ -221,7 +221,7 @@ def do_libghdl_tokens():
def do_libghdl_errorout():
- read_enum("errorout.ads", "Msgid_Type", "(Msgid|Warnid)_", "Msgid",
+ read_enum("../errorout.ads", "Msgid_Type", "(Msgid|Warnid)_", "Msgid",
g=lambda m: m.group(1) + '_' + m.group(2))