Skip to content

Commit

Permalink
Merge pull request #31 from joedf/master
Browse files Browse the repository at this point in the history
fix issue #27 and #15
  • Loading branch information
fincs committed Jun 12, 2015
2 parents 7cb7207 + a69c2bb commit ec4841e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Ahk2Exe.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ CLIMode := true
return

BadParams:
Util_Info("Command Line Parameters:`n`n" A_ScriptName " /in infile.ahk [/out outfile.exe] [/icon iconfile.ico] [/bin AutoHotkeySC.bin]")
Util_Info("Command Line Parameters:`n`n" A_ScriptName " /in infile.ahk [/out outfile.exe] [/icon iconfile.ico] [/bin AutoHotkeySC.bin] [/mpress 1 (true) or 0 (false)]")
ExitApp

_ProcessIn:
Expand Down
2 changes: 1 addition & 1 deletion ScriptParser.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ PreprocessScript(ByRef ScriptText, AhkScript, ExtraFiles, FileList="", FirstScri
}
}else if !contSection && tline ~= "i)^FileInstall[, \t]"
{
if tline ~= "^\w+\s+(:=|+=|-=|\*=|/=|//=|\.=|\|=|&=|\^=|>>=|<<=)"
if tline ~= "^\w+\s+(:=|\+=|-=|\*=|/=|//=|\.=|\|=|&=|\^=|>>=|<<=)"
continue ; This is an assignment!
if !RegExMatch(tline, "i)^FileInstall[ \t]*[, \t][ \t]*([^,]+?)[ \t]*(,|$)", o) || o1 ~= "[^``]%" ; TODO: implement `, detection
Util_Error("Error: Invalid ""FileInstall"" syntax found. Note that the first parameter must not be specified using a continuation section.")
Expand Down

0 comments on commit ec4841e

Please sign in to comment.