Euphoria
Ticket #778:
Translator may not keep forward routine_id targets
-
Reported by
mattlewis
Sep 03, 2012
-- bug.ex
include bug.e
-- bug.e
? routine_id("foo")
procedure foo()
end procedure
bug.e:foo is not added to the routine_list in init-.c and the routine_id() call fails.
Details
1. Comment by mattlewis
Sep 06, 2012
See: hg:euphoria/rev/ecf6acd21fa0
changeset: 5644:ecf6acd21fa0 branch: 4.0 parent: 5621:1ab9a89b9a53 user: Matt Lewis date: Mon Sep 03 13:21:28 2012 -0400 files: docs/release/4.0.5.txt source/symtab.e tests/routine_id.e tests/t_routine_id.e description:
- translator correctly keeps routines in include files referenced by routine_id
- fixes ticket 778
2. Comment by mattlewis
Sep 06, 2012
See: hg:euphoria/rev/c4fb42931f5b
changeset: 5647:c4fb42931f5b branch: 4.0 parent: 5645:c1511b5c1a82 user: Matt Lewis date: Tue Sep 04 13:48:25 2012 -0400 files: source/symtab.e description:
- better routine id preservation for the translator
- ticket 778
3. Comment by mattlewis
Sep 06, 2012
See: hg:euphoria/rev/51343de2abd3
changeset: 5649:51343de2abd3 branch: 4.0 user: Matt Lewis date: Wed Sep 05 08:23:09 2012 -0400 files: source/symtab.e description:
- fix routine / visibility detection routines
- ticket 778