mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
print ast
This commit is contained in:
parent
f800e21adc
commit
f4ed9c5399
@ -108,7 +108,7 @@ def _analyzeGens(top, genNames):
|
||||
s = inspect.getsource(f)
|
||||
s = s.lstrip()
|
||||
ast = compiler.parse(s)
|
||||
print ast
|
||||
# print ast
|
||||
ast.sourcefile = inspect.getsourcefile(f)
|
||||
ast.lineoffset = inspect.getsourcelines(f)[1]-1
|
||||
ast.symdict = f.f_globals.copy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user