Re: Weird syntax errors?

new topic     » goto parent     » topic index » view thread      » older message » newer message
boater said...

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.

Anyone tell me what I am doing wrong (other than bad typing?)

The parser thinks that you are trying to define a variable called 'hed' that is a user-defined-type called 'w'.

To the parser, your code looks like ...

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

Which means that it thinks you are declaring a variable because the statement begins with a word that is not a keyword, and so could be a user defined type.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu