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

Somewhat more robust.

Rev: lib/modules/Parser.pmod/C.pmod:1.10
parent e1cc173f
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ array(string) split(string data) ...@@ -6,7 +6,7 @@ array(string) split(string data)
int line=1; int line=1;
array(string) ret=({}); array(string) ret=({});
int pos; int pos;
data+="\0"; data += "\n\0"; /* End sentinel. */
while(1) while(1)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment