diff options
author | Eli Bendersky <eliben@gmail.com> | 2021-09-20 06:26:00 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2021-09-20 06:26:00 -0700 |
commit | 14539f947b2c0c3c0c150ddb04e37f5ac645b59e (patch) | |
tree | d62beb8edcb10abbd8e7f78e1d18bb5a455c3c6b /pycparser/c_parser.py | |
parent | 77cb1fcda28965de518051d3db752b2dbbe4bf4a (diff) | |
download | pycparser-14539f947b2c0c3c0c150ddb04e37f5ac645b59e.tar.gz |
Clean up some comments
Diffstat (limited to 'pycparser/c_parser.py')
-rw-r--r-- | pycparser/c_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pycparser/c_parser.py b/pycparser/c_parser.py index 0f026eb..f9528f8 100644 --- a/pycparser/c_parser.py +++ b/pycparser/c_parser.py @@ -779,8 +779,8 @@ class CParser(PLYParser): """ p[0] = self._add_declaration_specifier(p[2], p[1], 'function') - # This is a bit ugly, but we need to process atomic specifier before qualifiers - # for _Atomic(x) in typedefs. + # Withot this, `typedef _Atomic(T) U` will parse incorrectly because the + # _Atomic qualifier will match, instead of the specifier. def p_declaration_specifiers_no_type_4(self, p): """ declaration_specifiers_no_type : atomic_specifier declaration_specifiers_no_type_opt """ |