Commit edaa3935 authored by deuce's avatar deuce
Browse files

Comments are sometime placed inside line blocks (especially for fights)

parent d926f3ad
......@@ -1188,7 +1188,8 @@ function run_ref(sec, fname)
var ret = [];
while (line < files[fname].lines.length && files[fname].lines[line+1].search(/^\s*@/) === -1) {
ret.push(files[fname].lines[line+1]);
if (files[fname].lines[line+1].search(/^\s*;/) === -1)
ret.push(files[fname].lines[line+1]);
line++;
}
return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment