Skip to content

Commit

Permalink
Merge branch 'preprocessor' of https://github.com/himaanisrivatsava/c…
Browse files Browse the repository at this point in the history
…rosstl into preprocessor
  • Loading branch information
himaanisrivatsava committed Jan 5, 2025
2 parents 1997294 + ef91086 commit 1832d69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crosstl/backend/DirectX/DirectxPreprocessor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os


class DirectxPreprocessor:
def __init__(self):
self.macros = {}
Expand Down Expand Up @@ -68,4 +69,4 @@ def expand_macros(self, line):
if any(macro not in self.macros for macro in line.split()):
raise ValueError(f"Undefined macro encountered in line: {line}")

return line
return line

0 comments on commit 1832d69

Please sign in to comment.