Skip to content

Commit

Permalink
Fix function arg spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Nov 22, 2024
1 parent 0fc42c3 commit 55385e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hld/Eval.hx
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ class Eval {
return str;
}

function readBytesStrAt(length, read: Int->Int, t:HLType, pos:String) : String {
function readBytesStrAt( length : Int , read : Int->Int, t : HLType, pos : String) : String {
var pos = toInt(eval(pos));
var blen = align.typeSize(t);
if( pos < 0 || (length >= 0 && pos > length-blen) )
Expand Down Expand Up @@ -1021,7 +1021,7 @@ class Eval {
return s.file+":" + s.line;
}

function readRegAddress(index) : VarAddress {
function readRegAddress( index ) : VarAddress {
var r = module.getFunctionRegs(funIndex)[index];
if( r == null )
return ANone;
Expand Down

0 comments on commit 55385e8

Please sign in to comment.