Skip to content

Commit

Permalink
Make the pycparser_utils_path var get path automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Haron-Benfaida committed Oct 17, 2024
1 parent d03070f commit 561d49d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/generate_executable.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from pycparser import parse_file, c_generator
from pycparser.c_ast import FuncDef, Decl, FuncCall, ID, Compound, TypeDecl, IdentifierType, FuncDecl, ParamList, Return, Constant, Assignment, ExprList, BinaryOp, NamedInitializer, InitList, Struct, ArrayDecl, Cast, Typename
import os
import pycparser_fake_libc

pycparser_utils_path = '/Users/abdallaeltayeb/Desktop/Gamtime_project/pycparser/utils/fake_libc_include'
pycparser_utils_path = pycparser_fake_libc.directory

class ExecutableTransformer(object):
"""
Expand Down

0 comments on commit 561d49d

Please sign in to comment.