Changeset 37e5640
- Timestamp:
- Apr 25, 2020, 10:44:02 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0a2e1c05
- Parents:
- c4e3c28b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
rc4e3c28b r37e5640 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Apr 24 13:51:36202013 // Update Count : 9 5612 // Last Modified On : Sat Apr 25 09:54:49 2020 13 // Update Count : 962 14 14 // 15 15 … … 593 593 (ostype &)(os | fmt | "" | fmt2); \ 594 594 } else if ( f.base == 'o' ) { \ 595 if ( fmt.flags.pc && fmt.pc > 22 ) fmt.pc -= 22; else fmt.flags.pc = false;\595 if ( fmt.flags.pc && fmt.pc > 22 ) fmt.pc -= 22; else { fmt.flags.pc = false; fmt.pc = 0; } \ 596 596 if ( fmt.flags.left ) { \ 597 597 fmt.flags.left = false; \ … … 606 606 fmt2.flags.left = true; \ 607 607 int msigd = ceiling( high1( fmt.val ), 3 ) + 1; \ 608 fmt2.wd = f.wd - (fmt.pc > msigd ? fmt.pc : msigd); \ 608 fmt2.wd = f.wd - (fmt.pc > msigd ? fmt.pc : msigd) - 1; \ 609 /* printf( "\nL2 %llo %d %d '%c' %x\n", fmt2.val, fmt2.wd, fmt2.pc, fmt2.base, fmt2.all ); */ \ 609 610 if ( fmt2.wd < 0 ) fmt2.wd = 21; \ 610 611 fmt2.flags.pc = true; fmt2.pc = 21; \
Note: See TracChangeset
for help on using the changeset viewer.