Skip to content
Snippets Groups Projects
Commit 1e959152 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed infinite loop bug.

Rev: tutorial/Wmml.pmod:1.15
parent dc68249d
No related branches found
No related tags found
No related merge requests found
......@@ -344,7 +344,8 @@ object(Tag) parse_pike_code(string x,
if(x[e+1..e+1]=="*")
{
p=e++;
while(x[e..e+1]!="*/") e++;
while(!(< "", "*/" >)[x[e..e+1]])
e++;
e++;
ret+=({ Tag("ex_comment",([]), pos+e, ({ x[p..e]}) ) });
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment