Skip to content

Commit

Permalink
fix: import path
Browse files Browse the repository at this point in the history
  • Loading branch information
Andree37 committed May 30, 2023
1 parent 6d73cf0 commit de38bf6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/construct_ast_from_scratch.py
Expand Up @@ -6,6 +6,12 @@
# Andre Ribeiro [https://github.com/Andree37]
# License: BSD
# -----------------------------------------------------------------
import sys

# This is not required if you've installed pycparser into
# your site-packages/ with setup.py
sys.path.extend(['.', '..'])

from pycparser import c_ast, c_generator


Expand Down

0 comments on commit de38bf6

Please sign in to comment.