mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2025-01-02 14:29:35 +00:00
Bugfix: .include wasn't blocking later .requires
When crossing directories, this will still be wrong, but that's a larger fix for later.
This commit is contained in:
parent
9323067e91
commit
7e503df96f
@ -36,6 +36,8 @@ def pragmaInclude(ppt, line, result):
|
||||
filename = line.expect("STRING").value
|
||||
line.expect("EOL")
|
||||
if type(filename) == str:
|
||||
global loadedfiles
|
||||
loadedfiles[filename] = True
|
||||
result.append(FE.parse_file(ppt, filename))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user