diff options
Diffstat (limited to 'tests/test_c_parser.py')
-rwxr-xr-x | tests/test_c_parser.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py index e83bd7d..33f3f07 100755 --- a/tests/test_c_parser.py +++ b/tests/test_c_parser.py @@ -1,7 +1,5 @@ #!/usr/bin/env python -import pprint -import re import os, sys import io import unittest @@ -10,7 +8,7 @@ sys.path[0:0] = ['.', '..'] from pycparser import c_parser from pycparser.c_ast import * -from pycparser.c_parser import CParser, Coord, ParseError +from pycparser.c_parser import ParseError _c_parser = c_parser.CParser( lex_optimize=False, @@ -729,7 +727,7 @@ class TestCParser_fundamentals(TestCParser_base): def test_parenthesized_compounds(self): e = self.parse(r''' void foo() { - int a; + int a; ({}); ({ 1; }); ({ 1; 2; }); |