Path: utzoo!attcan!utgpu!watmath!att!dptg!rutgers!cs.utexas.edu!uunet!mcvax!ukc!icdoc!qmc-cs!jeremyr
From: jeremyr@cs.qmc.ac.uk (Jeremy Roussak)
Newsgroups: comp.sys.mac.programmer
Subject: Re: THINK C bug
Message-ID: <1181@sequent.cs.qmc.ac.uk>
Date: 8 Aug 89 17:32:39 GMT
References: <1989Aug6.155637.11270@jarvis.csri.toronto.edu> <2376@husc6.harvard.edu> <4298@portia.Stanford.EDU>
Reply-To: jeremyr@cs.qmc.ac.uk (Jeremy Roussak)
Organization: Computer Science Dept, Queen Mary College, University of London, UK.
Lines: 41
Summary:
Expires:
Sender:
Followup-To:
Distribution:
Keywords:


While we're on the subject of bugs in LSC, here are a couple of
minor ones:

1.  The font popup menu in the Set Tabs & Font dialog pops up
in the wrong place if you have many (>20) fonts and have one
late in the list already selected.  Sometimes it appears an
inch or so above the dialog.  It then scrolls rapidly to Zapf
Dingbats, so a quick "click and release" leaves my code looking
rather weird!

2.  After the following declarations:

typedef struct
 {  long eric, fred;
 } foo;

foo xyzzy, plugh;
Boolean q;

the following works:

main()
 {  foo bar;
    if (q)
        bar = xyzzy;
    else
        bar = plugh;
 }

but this gives a compile error (illegal operation on structure,
or something similar:

main()
 {  foo bar;
    bar = q ? xyzzy: plugh;
 }

A bug, yes? Or am I missing something?

Jeremy Roussak