@@ -54,11 +54,11 @@ static int indent; /* Current level of indentation */
5454 *
5555 **************************************************************************** */
5656
57- static bool ended_okay = TRUE ; /* FALSE if finished prematurely */
57+ static bool ended_okay = true ; /* FALSE if finished prematurely */
5858
59- bool offs16 = TRUE ;
59+ bool offs16 = true ;
6060unsigned int linenum ;
61- bool end_found = FALSE ;
61+ bool end_found = false ;
6262unsigned int token_streampos ; /* Streampos() of currently-gotten token */
6363u16 last_defined_token = 0 ;
6464
@@ -86,7 +86,7 @@ static void pretty_print_string(void)
8686 u8 len ;
8787 u8 * strptr ;
8888 int indx ;
89- bool in_parens = FALSE ; /* Are we already inside parentheses? */
89+ bool in_parens = false ; /* Are we already inside parentheses? */
9090
9191 strptr = get_string (& len );
9292
@@ -104,7 +104,7 @@ static void pretty_print_string(void)
104104 if (isprint (c )) {
105105 if (in_parens ) {
106106 printf (" )" );
107- in_parens = FALSE ;
107+ in_parens = false ;
108108 }
109109 printf ("%c" , c );
110110 /* Quote-mark must escape itself */
@@ -113,7 +113,7 @@ static void pretty_print_string(void)
113113 } else {
114114 if (!in_parens ) {
115115 printf ("\"(" );
116- in_parens = TRUE ;
116+ in_parens = true ;
117117 }
118118 printf (" %02x" , c );
119119 }
@@ -308,7 +308,7 @@ static s16 decode_offset(void)
308308 * theoretically possible, so we'll treat it as valid.
309309 * An offset of zero is also, of course, invalid.
310310 */
311- invalid_dest = BOOLVAL ((dest <= 0 )
311+ invalid_dest = ((dest <= 0 )
312312 || (dest > stream_max )
313313 || (offs == 0 ));
314314
@@ -399,7 +399,7 @@ static void double_length_literal(void)
399399static void offset16 (void )
400400{
401401 decode_default ();
402- offs16 = TRUE ;
402+ offs16 = true ;
403403}
404404
405405static void decode_branch (void )
@@ -482,7 +482,7 @@ static void decode_start(void)
482482
483483static void decode_token (u16 token )
484484{
485- bool handy_flag = TRUE ;
485+ bool handy_flag = true ;
486486 switch (token ) {
487487 case 0x0b5 :
488488 new_token ();
@@ -533,7 +533,7 @@ static void decode_token(u16 token)
533533 decode_two ();
534534 break ;
535535 case 0x0fd : /* version1 */
536- handy_flag = FALSE ;
536+ handy_flag = false ;
537537 case 0x0f0 : /* start0 */
538538 case 0x0f1 : /* start1 */
539539 case 0x0f2 : /* start2 */
@@ -545,7 +545,7 @@ static void decode_token(u16 token)
545545 break ;
546546 case 0 : /* end0 */
547547 case 0xff : /* end1 */
548- end_found = TRUE ;
548+ end_found = true ;
549549 decode_default ();
550550 break ;
551551
@@ -611,15 +611,15 @@ static void decode_fcode_header(void)
611611{
612612 long err_pos ;
613613 u16 token ;
614- bool new_offs16 = TRUE ;
614+ bool new_offs16 = true ;
615615
616616 err_pos = get_streampos ();
617617 indent = 0 ;
618618 token = next_token ();
619619
620620 switch (token ) {
621621 case 0x0fd : /* version1 */
622- new_offs16 = FALSE ;
622+ new_offs16 = false ;
623623 case 0x0f0 : /* start0 */
624624 case 0x0f1 : /* start1 */
625625 case 0x0f2 : /* start2 */
@@ -685,7 +685,7 @@ static void decode_fcode_block(void)
685685 unsigned int fc_block_start ;
686686 unsigned int fc_block_end ;
687687
688- end_found = FALSE ;
688+ end_found = false ;
689689 fc_block_start = get_streampos ();
690690
691691 decode_fcode_header ();
@@ -714,7 +714,7 @@ static void decode_fcode_block(void)
714714 "Detokenization finished prematurely after %d of %d bytes." ,
715715 get_streampos () - fc_block_start ,
716716 fc_block_end - fc_block_start );
717- ended_okay = FALSE ;
717+ ended_okay = false ;
718718 }
719719 printremark (temp_bufr );
720720 }
@@ -750,7 +750,7 @@ static void decode_fcode_block(void)
750750
751751static bool another_fcode_block (void )
752752{
753- bool retval = FALSE ;
753+ bool retval = false ;
754754 u16 token ;
755755
756756 token = next_token ();
@@ -762,7 +762,7 @@ static bool another_fcode_block(void)
762762 case 0x0f1 : /* start1 */
763763 case 0x0f2 : /* start2 */
764764 case 0x0f3 : /* start4 */
765- retval = TRUE ;
765+ retval = true ;
766766 printremark
767767 ("Subsequent FCode Block detected. Detokenizing." );
768768 break ;
@@ -799,7 +799,7 @@ void detokenize(void)
799799 if (ended_okay ) {
800800 init_fcode_block ();
801801 }
802- ended_okay = TRUE ;
802+ ended_okay = true ;
803803
804804 adjust_for_pci_header ();
805805
0 commit comments