Weird syntax errors?

new topic     » topic index » view thread      » older message » newer message

I'm running Eu 4.0.4 on a Windows 7 machine, and have recently run into some most odd looking syntax error reports. Doubtless my fault, but I cannot see why.

Under ED, if I write and then run

sequence work = {} 
atom flags = 32768 
object hed 
 
work = and_bits(14, flags)w 
 
hed = 1 

including the extra character mis-typed at the end of the fourth line, the run fails with an error 'attempt to redefine hed'

Even more peculiar: if I comment out the object declaration, in a feeble attempt to remove the source of the re-declaration

... 
--object hed 
... 

then the error is quite different - I end up with TWO 'Errors resolving the following references', both complaining about 'w', but one of them on line 5 (the mis-typed character), and one of them on line 7 - where the parser seems to be hallucinating the term again.
Anyone tell me what I am doing wrong (other than bad typing?)

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu