Opened 15 years ago
#225 new defect
module-name.rule-name not in global namespace
| Reported by: | Md Abdur Rahim | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | 2.0 |
| Keywords: | Cc: | chetanreddy@… |
Description
The example provided here doesn't work in bjam. Here's what i see:
$ cat test.jam
module my_module
{
rule salute ( x ) { ECHO $(x), world ; }
rule greet ( ) { salute hello ; }
greet ;
}
my_module.salute goodbye ;
NOCARE all ;
$ bjam -f test.jam
hello, world
test.jam:7: in module scope
rule my_module.salute unknown in module
I've attached a patch that fixes this issue. Let me know if i'm doing something wrong.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
