diff options
Diffstat (limited to 'pycparser/c_generator.py')
-rw-r--r-- | pycparser/c_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pycparser/c_generator.py b/pycparser/c_generator.py index 3880ce4..a76638d 100644 --- a/pycparser/c_generator.py +++ b/pycparser/c_generator.py @@ -379,7 +379,7 @@ class CGenerator(object): """ Visits 'n' and returns its string representation, parenthesized if the condition function applied to the node returns True. """ - s = self.visit(n) + s = self._visit_expr(n) if condition(n): return '(' + s + ')' else: |