Reposting : small bug in euphoria parsing

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



-- demo a tiny bug where Eu parsing breaks.
-- If "trace" is coded between the procedure declaration and the
-- first private variables, ie immediately after the proc dcl.
-- error is "Syntax error - expected to see possibly 'end', not a type"
-- Euphoria v2.5
-- workaround is to put the trace(1) after the variables declarations
--
with trace
procedure main()
      trace(1)
      integer i1
      i1 = 0
      i1 = i1 + 1
end procedure

main()


Sorry for the out-of-order post, my original did not get through

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

Search



Quick Links

User menu

Not signed in.

Misc Menu