~ubuntu-branches/ubuntu/hardy/swig1.3/hardy

« back to all changes in this revision

Viewing changes to Source/CParse/cscanner.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * See the file LICENSE for information on usage and redistribution.
13
13
 * ----------------------------------------------------------------------------- */
14
14
 
15
 
char cvsroot_cscanner_c[] = "$Header: /cvsroot/swig/SWIG/Source/CParse/cscanner.c,v 1.11 2004/11/15 20:51:47 marcelomatus Exp $";
 
15
char cvsroot_cscanner_c[] = "$Header: /cvsroot/swig/SWIG/Source/CParse/cscanner.c,v 1.12 2005/10/13 09:23:19 marcelomatus Exp $";
16
16
 
17
17
#include "cparse.h"
18
18
#include "parser.h"
1100
1100
            yylval.type = NewSwigType(T_CHAR);
1101
1101
            return(TYPE_CHAR);
1102
1102
          }
 
1103
          if (strcmp(yytext,"wchar_t") == 0) {
 
1104
            yylval.type = NewSwigType(T_WCHAR);
 
1105
            return(TYPE_WCHAR);
 
1106
          }
1103
1107
          if (strcmp(yytext,"short") == 0) {
1104
1108
            yylval.type = NewSwigType(T_SHORT);
1105
1109
            return(TYPE_SHORT);