Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimal changes for bug #1689 #1690

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/FMTOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtA( os, valIx, r, w, c);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -267,7 +267,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::FIXED);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -288,7 +288,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::SCIENTIFIC);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -310,7 +310,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::SCIENTIFIC);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -331,7 +331,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::AUTO);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -353,7 +353,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::AUTO);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -374,7 +374,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::DEC);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -395,7 +395,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::OCT);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -416,7 +416,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::BIN);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -437,7 +437,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::HEX);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand All @@ -458,7 +458,7 @@ void FMTOut::f(RefFMTNode _t) {
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::HEXL);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);

break;
Expand Down
22 changes: 11 additions & 11 deletions src/format.out.g
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ f
SizeT tCount = actPar->OFmtA( os, valIx, r, w, c);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
// | d:D // D is transformed to F below:
Expand All @@ -340,7 +340,7 @@ f
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::FIXED);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| se:SE
Expand All @@ -355,7 +355,7 @@ f
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::SCIENTIFIC);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| ee:E
Expand All @@ -371,7 +371,7 @@ f
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::SCIENTIFIC);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| sg:SG
Expand All @@ -386,7 +386,7 @@ f
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::AUTO);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| g:G
Expand All @@ -402,7 +402,7 @@ f
SizeT tCount = actPar->OFmtF( os, valIx, r, w, d, c, BaseGDL::AUTO);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| i:I
Expand All @@ -417,7 +417,7 @@ f
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::DEC);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| o:O
Expand All @@ -432,7 +432,7 @@ f
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::OCT);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| b:B
Expand All @@ -447,7 +447,7 @@ f
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::BIN);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| z:Z
Expand All @@ -462,7 +462,7 @@ f
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::HEX);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
| zz:ZZ
Expand All @@ -477,7 +477,7 @@ f
SizeT tCount = actPar->OFmtI( os, valIx, r, w, d, c, BaseGDL::HEXL);
r -= tCount;
NextVal( tCount);
if( actPar == NULL) break;
if( actPar == NULL) {termFlag=true; break;};
} while( r>0);
}
|
Expand Down
Loading