Re: Rosetta code: help needed
- Posted by ed_davis Oct 28, 2016
- 1669 views
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!