diff options
author | Eli Bendersky <eliben@gmail.com> | 2020-10-05 06:29:52 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2020-10-05 06:29:52 -0700 |
commit | 8da013e8525b2ca268a0345aeea9eb74850185c3 (patch) | |
tree | 99f5d568e1b7721645b228d88f16f74845050c9e /pycparser/c_generator.py | |
parent | 75e875732d3c4b923ea0d1f0713b88d35f5ef612 (diff) | |
download | pycparser-8da013e8525b2ca268a0345aeea9eb74850185c3.tar.gz |
Clean up comments
Diffstat (limited to 'pycparser/c_generator.py')
-rw-r--r-- | pycparser/c_generator.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pycparser/c_generator.py b/pycparser/c_generator.py index c494176..36b95fb 100644 --- a/pycparser/c_generator.py +++ b/pycparser/c_generator.py @@ -21,8 +21,7 @@ class CGenerator(object): if True, eliminates needless parentheses on binary operators """ # Statements start with indentation of self.indent_level spaces, using - # the _make_indent method - # + # the _make_indent method. self.indent_level = 0 self.reduce_parentheses = reduce_parentheses @@ -34,7 +33,6 @@ class CGenerator(object): return getattr(self, method, self.generic_visit)(node) def generic_visit(self, node): - #~ print('generic:', type(node)) if node is None: return '' else: @@ -80,7 +78,7 @@ class CGenerator(object): # Precedence map of binary operators: precedence_map = { - # Some what of a duplicate of c_paarser.CParser.precedence + # Should be in sync with c_parser.CParser.precedence # Higher numbers are stronger binding '||': 0, # weakest binding '&&': 1, |