mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-28 08:06:24 -07:00
Refactor if
expression
This commit is contained in:
parent
35e469f58d
commit
b484f7c969
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def compileOutIfs(text, flag):
|
|||
doCompile = True
|
||||
for i in lines:
|
||||
if "#IF" in i:
|
||||
doCompile = True if flag in i else False
|
||||
doCompile = flag in i
|
||||
elif "#ENDIF" in i:
|
||||
doCompile = True
|
||||
elif doCompile:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue