Opened 13 years ago
Closed 13 years ago
#459 closed defect (fixed)
possible clash between process names and O'Mega variables
Reported by: | sschmidt | Owned by: | ALL |
---|---|---|---|
Priority: | P5 | Milestone: | v2.0.7 |
Component: | interfaces | Version: | 2.0.6 |
Severity: | minor | Keywords: | |
Cc: |
Description
When using process names that are also used as variables in the O'Mega code, e.g.
process p1 = e1, E1 => e2, E2
O'Mega will name the module using the process name. The generated code will look like the
module p1 ... type(momentum) :: p1, p2, p3, p4 ... end module p1
and thus lead to a compiler error.
The simplest solution should be to rename the module to <process name>_module, then no clashes should be possible (assuming there are no variables called something_module).
Change History (3)
comment:1 Changed 13 years ago by
Component: | omega → interfaces |
---|---|
Owner: | changed from ohl to ALL |
Type: | defect → enhancement |
comment:2 Changed 13 years ago by
Type: | enhancement → defect |
---|
Note: See
TracTickets for help on using
tickets.
To quote the WHIZARD manual:
As WHIZARD doesn't obey what's written in the manual, it's definitely a defect.