From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f5b7567796aaace6,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!e25g2000prg.googlegroups.com!not-for-mail From: leeerussell@gmail.com Newsgroups: comp.lang.ada Subject: SPARK hide directive, hiding separate declaration. Date: Thu, 3 Jan 2008 03:59:56 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 87.85.180.66 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1199361597 16412 127.0.0.1 (3 Jan 2008 11:59:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 3 Jan 2008 11:59:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e25g2000prg.googlegroups.com; posting-host=87.85.180.66; posting-account=oNio1woAAAApMI95SjjQF-2C08h_3Ssi User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.25 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19173 Date: 2008-01-03T03:59:56-08:00 List-Id: Hello everyone I think I may have found a similar problem discussed when searching, but I felt that this problem is sufficiently different to warrant a new post. I am getting the following error code when using SPARK examiner: Semantic Error : 10: Illegal redeclaration of identifier foo. The error is happening because I have a declaration of a separate in a body that is otherwise all hidden from SPARK (using --# hide). The SPARK examiner cannot see the hidden declaration, so is complaining about the separate. Is there any thing like an --# unhide directive that would allow me to let SPARK see the declaration in the body, but nothing else? Thanks for any help Lee Russell