correct 3.5 CALL_FUNCTION_VAR handling

Sigh, 3.6 changes this so this fix is just for this version
This commit is contained in:
rocky
2018-01-08 12:24:00 -05:00
parent 0de73cd939
commit 892be78927
4 changed files with 9 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2015-2017 by Rocky Bernstein
# Copyright (c) 2015-2018 by Rocky Bernstein
# Copyright (c) 2005 by Dan Pascu <dan@windowmaker.org>
# Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
# Copyright (c) 1999 John Aycock
@@ -2316,7 +2316,7 @@ class SourceWalker(GenericASTTraversal, object):
str = '%c(*%C, %c)'
elif str == '%c(%C':
str = '%c(*%C)'
# p2 = (1, -1, 100)
p2 = (1, 100, '')
else:
str += '*%c)'
entry = (str, 0, p2, -2)