Skip to content

Commit

Permalink
Merge pull request #175 from llelf/master
Browse files Browse the repository at this point in the history
correctly parse -jp= options
  • Loading branch information
lukego committed May 20, 2014
2 parents 77d2a92 + 0fc72f8 commit a6ef135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function main ()
debug.traceback = STP.stacktrace
i = i + 1
elseif (args[i]):match("-jp") then
local pargs, poutput = (args[i]):gmatch("-jp=(%w*),?(.*)")()
local pargs, poutput = (args[i]):gmatch("-jp=([^,]*),?(.*)")()
if poutput == '' then poutput = nil end
require("jit.p").start(pargs, poutput)
profiling = true
Expand Down

0 comments on commit a6ef135

Please sign in to comment.