Re: superfluous words

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

Do you see that "do" doesn't have any sence here?

It doesn't help to parse the construct in any way, it seems to me.

Same about ":" symbol after "case <val>"

Let's remove them ("do" and ":") from this construct.

Thank you for pointing out that there are two bugs here.

Firstly, 'do' is a required syntax element so that we could (theoretically) have...

switch x do 
end switch 

However, there is a bug that causes this to be invalid syntax.

The colon, ':', was meant to be optional. It is there to enhance readability and because some people who are used to other langauges expected it. However, the current interpreter wants this to be mandatory.

Both these bugs will be addressed now.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu