Share

Jalopy Java Source Code Formatter

Tracker: Bugs

1 do while - ID: 581394
Last Update: Settings changed ( marcohu )

first of all this is not a language construct I use
(obviously, since I'm using jalopy for it ;)) )

do
val = in.read();
while( val == (int)'\n' || val == (int)'\r' );

became:

doval = in.read();
while( val == (int)'\n' || val == (int)'\r'

after that the compiler complained about unknown
variable doval ;))


the work around is NOT to use

do
statement;
while( expr );

but:

do
{
statement;
} while( expr );

but if you get imported/foreign sources you are
ofcourse not in control of what you receive ;(


Marcel Toele ( eleot ) - 2002-07-14 19:18

1

Closed

Fixed

Marco Hunsicker

None

None

Public


Comment ( 1 )

Date: 2002-07-15 22:26
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

The next beta will treat both cases correct.

Thanks.
Marco


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2002-08-06 18:24 marcohu
resolution_id None 2002-08-06 18:24 marcohu
close_date - 2002-08-06 18:24 marcohu
priority 5 2002-07-28 19:33 marcohu
assigned_to nobody 2002-07-15 22:26 marcohu