IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

#624 closed defect (fixed)

pmPSFtry.c line breaks are weird

Reported by: eugene Owned by: robert.desonia@…
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)

pmPSFtry.c (12.2 KB ) - added by eugene 20 years ago.
pmPSFtry.c with indent errors fixed.

Download all attachments as: .zip

Change History (5)

by eugene, 20 years ago

Attachment: pmPSFtry.c added

pmPSFtry.c with indent errors fixed.

comment:1 by eugene, 20 years ago

replace 'indent' with 'astyle' above -- 'astyle' is what the MHPCC cvs tree
applied...

comment:2 by robert.desonia@…, 20 years ago

Status: newassigned

try is a keyword in many other languages like Java. Astyle is getting confused. I'll change the variable
name, probably.

comment:3 by jhoblitt, 20 years ago

blocked: 628

comment:4 by robert.desonia@…, 20 years ago

Resolution: fixed
Status: assignedclosed

I changed the 'try' variable to 'psfTry' to avoid the use of the C++ keyword 'try'.

Fix is in CVS main.

Note: See TracTickets for help on using tickets.