From 0f995708288bb330cefeac11187ce064c2ec3bb1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 9 May 2019 18:24:08 +0200 Subject: Move errorout from vhdl/ to src/ --- src/vhdl/Makefile | 2 +- src/vhdl/python/pnodespy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3