willett wrote:
program file attached is a program missing a "}" which should get compilation error, but which compiles without errors and when run, gets a "Segmentation fault" and quits.
It compiles fine on my system using 20041218. As Russ wrote, the program should compile, since in Pascal comments cannot be nested, i.e. the one `}' terminates the comment, even if it contains additional `{'s. GPC has a non-standard option `--nested-comments', and with this option on, 20041218 reports an "unterminated comment", as it should. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8