From a500341916bd89c46a42166078decb5699f7d518 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Mon, 3 Sep 2018 03:23:09 +0000 Subject: [PATCH] lualoader: Handle comma-separated kernels as well The format for kernels is documented as being space-delimited, but forthloader was more lenient on this and so people began to depend on it. A later pass will be made to document all of the fun features that forthloader allowed that may not be immediately obvious. Reported by: mmacy Approved by: re (kib) --- stand/lua/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/lua/core.lua b/stand/lua/core.lua index 7c7fe4ab0aa9..3c4fece1e226 100644 --- a/stand/lua/core.lua +++ b/stand/lua/core.lua @@ -185,7 +185,7 @@ function core.kernelList() end if v ~= nil then - for n in v:gmatch("([^; ]+)[; ]?") do + for n in v:gmatch("([^;, ]+)[;, ]?") do if unique[n] == nil then i = i + 1 kernels[i] = n