summaryrefslogtreecommitdiff
path: root/srcinfo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'srcinfo.lua')
-rw-r--r--srcinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcinfo.lua b/srcinfo.lua
index 058b9c6..c038641 100644
--- a/srcinfo.lua
+++ b/srcinfo.lua
@@ -43,7 +43,7 @@ local comment = lpeg.Cc"comment" * whitespace * lpeg.P"#" * lpeg.C(rest)
local empty = lpeg.Cc"empty" * whitespace
local invalid = lpeg.Cc"invalid" * lpeg.C(rest)
local line = lpeg.Carg(1) * (definition + comment + empty + invalid) / apply * newline
-local capture = lpeg.Ct(line^0) * -lpeg.P(1)
+local capture = lpeg.Ct(line^0) * whitespace * -lpeg.P(1)
local