コード例 #1
0
ファイル: support.py プロジェクト: charred/pypy
 def __init__(self, global_prefix='pypy_'):
     NameManager.__init__(self, global_prefix=global_prefix)
     # keywords cannot be reused.  This is the C99 draft's list.
     self.make_reserved_names('''
        auto      enum      restrict  unsigned
        break     extern    return    void
        case      float     short     volatile
        char      for       signed    while
        const     goto      sizeof    _Bool
        continue  if        static    _Complex
        default   inline    struct    _Imaginary
        do        int       switch
        double    long      typedef
        else      register  union
        ''')
コード例 #2
0
ファイル: support.py プロジェクト: juokaz/pypy
 def __init__(self, global_prefix='pypy_'):
     NameManager.__init__(self, global_prefix=global_prefix)
     # keywords cannot be reused.  This is the C99 draft's list.
     self.make_reserved_names('''
        auto      enum      restrict  unsigned
        break     extern    return    void
        case      float     short     volatile
        char      for       signed    while
        const     goto      sizeof    _Bool
        continue  if        static    _Complex
        default   inline    struct    _Imaginary
        do        int       switch
        double    long      typedef
        else      register  union
        ''')