Re: Rosetta code: help needed

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

Where? Which task, and which solution?

The lexical analyser, test case 3, Euphoria, C, and Python.

The problem is with

if next_ch() = '*' and next_ch() = '/' then 

Yes, definitely a problem! Thanks so much for finding this. Very embarrassing. Oh well. Programming can be very humbling.

I have attempted to fix the C, Python, FreeBasic and Euphoria versions, and have updated them at RosettaCode. At least it works with the new test case I added.

Thanks again for taking a look, and thanks for the feedback!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu