From 1f9489a65d37989c0f20404040c1e1e4a51c6f96 Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 7 Mar 2013 10:36:33 -0800 Subject: [PATCH] vlog95: report that package scopes are not supported. --- tgt-vlog95/scope.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tgt-vlog95/scope.c b/tgt-vlog95/scope.c index a633df717..8161bfa69 100644 --- a/tgt-vlog95/scope.c +++ b/tgt-vlog95/scope.c @@ -917,6 +917,14 @@ int emit_scope(ivl_scope_t scope, ivl_scope_t parent) ivl_scope_tname(scope)); vlog_errors += 1; return 0; + case IVL_SCT_PACKAGE: + fprintf(stderr, "%s:%u: vlog95 sorry: package scopes are not " + "currently translated \"%s\".\n", + ivl_scope_file(scope), + ivl_scope_lineno(scope), + ivl_scope_tname(scope)); + vlog_errors += 1; + return 0; default: fprintf(stderr, "%s:%u: vlog95 error: Unsupported scope type " "(%d) named: %s.\n", ivl_scope_file(scope),