dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/c c_declspec.c,1.13,1.14


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/c c_declspec.c,1.13,1.14
Date: Tue, 15 Apr 2003 21:27:51 -0400

Update of /cvsroot/dotgnu-pnet/pnet/cscc/c
In directory subversions:/tmp/cvs-serv13157/cscc/c

Modified Files:
        c_declspec.c 
Log Message:


CDeclSpecCombine: fix the recognition of types like "short int"
and "unsigned short int" (Bug #2772).


Index: c_declspec.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_declspec.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** c_declspec.c        19 Aug 2002 00:13:32 -0000      1.13
--- c_declspec.c        16 Apr 2003 01:27:49 -0000      1.14
***************
*** 168,172 ****
                                        {
                                                result.baseType = ILType_UInt16;
!                                               okSpecifiers = C_SPEC_UNSIGNED;
                                        }
                                        else if(((spec1.specifiers | 
spec2.specifiers)
--- 168,172 ----
                                        {
                                                result.baseType = ILType_UInt16;
!                                               okSpecifiers = C_SPEC_UNSIGNED 
| C_SPEC_SHORT;
                                        }
                                        else if(((spec1.specifiers | 
spec2.specifiers)
***************
*** 174,178 ****
                                        {
                                                result.baseType = ILType_Int16;
!                                               okSpecifiers = C_SPEC_SIGNED;
                                        }
                                }
--- 174,178 ----
                                        {
                                                result.baseType = ILType_Int16;
!                                               okSpecifiers = C_SPEC_SIGNED | 
C_SPEC_SHORT;
                                        }
                                }
***************
*** 186,190 ****
                                        {
                                                result.baseType = ILType_UInt16;
!                                               okSpecifiers = C_SPEC_UNSIGNED;
                                        }
                                }
--- 186,190 ----
                                        {
                                                result.baseType = ILType_UInt16;
!                                               okSpecifiers = C_SPEC_UNSIGNED 
| C_SPEC_SHORT;
                                        }
                                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]