comparison gcc/c-family/c-pretty-print.c @ 107:a3a2f64cf8f4

modify implementation of rectype
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Thu, 14 Jun 2012 19:44:54 +0900
parents b3cfc7733d3f
children ab0bcb71f44d
comparison
equal deleted inserted replaced
106:85047c4f1ca4 107:a3a2f64cf8f4
545 { 545 {
546 if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE 546 if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE
547 || TREE_CODE (TREE_TYPE (t)) == FUNCTION_TYPE) 547 || TREE_CODE (TREE_TYPE (t)) == FUNCTION_TYPE)
548 pp_c_right_paren (pp); 548 pp_c_right_paren (pp);
549 #ifndef noCbC 549 #ifndef noCbC
550 if(IS_RECTYPE(t)) return; 550 if(IS_RECTYPE(t))
551 return;
551 #endif 552 #endif
552 t = TREE_TYPE (t); 553 t = TREE_TYPE (t);
553 } 554 }
554 555
555 pp_direct_abstract_declarator (pp, t); 556 pp_direct_abstract_declarator (pp, t);