Opened 15 years ago
Closed 15 years ago
#280 closed defect (fixed)
two return locations
| Reported by: | Stephen Siegel | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | front | Version: | 1.1 |
| Keywords: | return terminal empty location | Cc: |
Description
There is an error in the way an empty function is translated. Three locations are generated: two return and one terminal:
RETURN (start) -> RETURN -> TERMINAL
It should be
RETURN (start) -> TERMINAL
No example checked in yet, but the minimal example
void main() {}
should illustrate the defect.
Note:
See TracTickets
for help on using tickets.

This is working properly in the new frontend.