equal
deleted
inserted
replaced
162 elseif line:sub(-1,-1) == "\\" then |
162 elseif line:sub(-1,-1) == "\\" then |
163 line_hold = (line_hold or "")..line:sub(1,-2); |
163 line_hold = (line_hold or "")..line:sub(1,-2); |
164 end |
164 end |
165 line_no = line_no + 1; |
165 line_no = line_no + 1; |
166 |
166 |
167 if line_hold or line:find("^[#;]") then |
167 if line_hold or line:find("^[#;]") then -- luacheck: ignore 542 |
168 -- No action; comment or partial line |
168 -- No action; comment or partial line |
169 elseif line == "" then |
169 elseif line == "" then |
170 if state == "rules" then |
170 if state == "rules" then |
171 return nil, ("Expected an action on line %d for preceding criteria") |
171 return nil, ("Expected an action on line %d for preceding criteria") |
172 :format(line_no); |
172 :format(line_no); |