Opened 20 years ago
Closed 20 years ago
#624 closed defect (fixed)
pmPSFtry.c line breaks are weird
| Reported by: | eugene | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | objects | Version: | 0.9.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
for some reason, every instance of try-> in the code gets an extra line break.
I assume this is a weird bug with 'indent' or something...
It makes the code nearly unreadable. I'm attaching a cleaned up version with no
other changes relative to eam_rel9_b0.
Attachments (1)
Change History (5)
by , 20 years ago
| Attachment: | pmPSFtry.c added |
|---|
comment:1 by , 20 years ago
replace 'indent' with 'astyle' above -- 'astyle' is what the MHPCC cvs tree
applied...
comment:2 by , 20 years ago
| Status: | new → assigned |
|---|
try is a keyword in many other languages like Java. Astyle is getting confused. I'll change the variable
name, probably.
comment:3 by , 20 years ago
| blocked: | → 628 |
|---|
comment:4 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
I changed the 'try' variable to 'psfTry' to avoid the use of the C++ keyword 'try'.
Fix is in CVS main.

pmPSFtry.c with indent errors fixed.