mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-04 13:33:00 +03:00
Apr 27th Update
This commit is contained in:
6
external/graphqlparser/ast/c_visitor_impl.py
vendored
6
external/graphqlparser/ast/c_visitor_impl.py
vendored
@@ -14,8 +14,8 @@ class Printer(object):
|
||||
self._types = []
|
||||
|
||||
def start_file(self):
|
||||
print C_LICENSE_COMMENT + '/** @generated */'
|
||||
print '#define FOR_EACH_CONCRETE_TYPE(MACRO) \\'
|
||||
print(C_LICENSE_COMMENT + '/** @generated */')
|
||||
print('#define FOR_EACH_CONCRETE_TYPE(MACRO) \\')
|
||||
|
||||
def start_type(self, name):
|
||||
self._types.append(name)
|
||||
@@ -27,7 +27,7 @@ class Printer(object):
|
||||
pass
|
||||
|
||||
def end_file(self):
|
||||
print ' \\\n'.join('MACRO(%s, %s)' % (name, snake(name)) for name in self._types)
|
||||
print(' \\\n'.join('MACRO(%s, %s)' % (name, snake(name)) for name in self._types))
|
||||
|
||||
def start_union(self, name):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user