Commit 85f10654 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Tools.Standalone.precompile: Fixed some warnings.

parent c5decfee
...@@ -1125,7 +1125,7 @@ class PikeType ...@@ -1125,7 +1125,7 @@ class PikeType
replace_names(tok, a); replace_names(tok, a);
array(array(PC.Token|array(PC.Token|array))) tmp; array(array(PC.Token|array(PC.Token|array))) tmp;
tmp=tok/({"|"}); tmp = ([array]tok)/({"|"});
if(sizeof(tmp) >1) if(sizeof(tmp) >1)
{ {
...@@ -1134,7 +1134,7 @@ class PikeType ...@@ -1134,7 +1134,7 @@ class PikeType
return; return;
} }
tmp=tok/({"&"}); tmp = ([array]tok)/({"&"});
if(sizeof(tmp) >1) if(sizeof(tmp) >1)
{ {
t=PC.Token("&"); t=PC.Token("&");
...@@ -1142,7 +1142,7 @@ class PikeType ...@@ -1142,7 +1142,7 @@ class PikeType
return; return;
} }
tmp=tok/({"="}); tmp = ([array]tok)/({"="});
if(sizeof(tmp) >1) if(sizeof(tmp) >1)
{ {
t=PC.Token("="); t=PC.Token("=");
......
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