Skip to content

Commit

Permalink
Fix typo in %A_LineFile% support
Browse files Browse the repository at this point in the history
  • Loading branch information
fincs committed Jun 28, 2013
1 parent 44f155b commit d986167
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
*.exe
*.bin
*.bak
/__debug.ahk
*.db
*.zip
/__debug.ahk
2 changes: 1 addition & 1 deletion ScriptParser.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ PreprocessScript(ByRef ScriptText, AhkScript, ExtraFiles, FileList="", FirstScri
StringReplace, IncludeFile, IncludeFile, `%A_ScriptDir`%, %FirstScriptDir%, All
StringReplace, IncludeFile, IncludeFile, `%A_AppData`%, %A_AppData%, All
StringReplace, IncludeFile, IncludeFile, `%A_AppDataCommon`%, %A_AppDataCommon%, All
StringReplace, IncludeFile, IncludeFile, `%A_LineFile`%, % FileList[1], All
StringReplace, IncludeFile, IncludeFile, `%A_LineFile`%, %AhkScript%, All

if FileExist(IncludeFile) = "D"
{
Expand Down

0 comments on commit d986167

Please sign in to comment.