spogulis no
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
inspect initializations
Šī revīzija ir iekļauta:
vecāks
331733e9e0
revīzija
fdd73d893c
@ -27,6 +27,12 @@ class ForbiddenLineVisitor(pycparser.c_ast.NodeVisitor):
|
||||
v.visit(node.rvalue)
|
||||
self.errors.extend(v.errors)
|
||||
|
||||
def visit_Decl(self, node):
|
||||
if node.init:
|
||||
v = ForbiddenOpVisitor();
|
||||
v.visit(node.init)
|
||||
self.errors.extend(v.errors)
|
||||
|
||||
def visit_FuncCall(self, node):
|
||||
if node.args:
|
||||
v = ForbiddenOpVisitor();
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user