[OpenSTA-devel] [ opensta-Bugs-1240930 ] Compiler crashes when bad var SET to array var that isn't
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2005-07-19 15:41:06
|
Bugs item #1240930, was opened at 2005-07-19 11:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1240930&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Script Language Group: Crash Status: Open Resolution: None Priority: 5 Submitted By: Daniel Sutcliffe (dansut) Assigned to: Daniel Sutcliffe (dansut) Summary: Compiler crashes when bad var SET to array var that isn't Initial Comment: This SCL script illustrates the problem: Environment Description "This causes the compiler to crash" Definitions CHARACTER ChrNotArray Code SET NotVar = ChrNotArray[1] Exit It should produce a compliation error because NotVar doesn't exist and and ChrNotArray is not an array - but it actually crashes the compiler. If ChrNotArray is an INTEGER the compiler doesn't crash and produces the correct error message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1240930&group_id=10857 |