This happens if i use $eval(%var,2) and the var contains an invalid Identifier like "$address(" if i use eval brackets i get the correct error message for $address and so on.
This is with eval brackets
Code:
alias eval1 {
var %i = $$1-,%o = [ [ %i ] ],%o = $iif(%o != $null,$ifmatch,$!null)
goto end
:error
var %o = $gettok($gettok($error,1,40),2-,32)
reseterror
:end
echo -a * %i == %o
}
And this with $eval
Code:
alias eval2 {
var %i = $$1-,%o = $iif($eval(%i,2) != $null,$ifmatch,$!null)
goto end
:error
var %o = $gettok($gettok($error,1,40),2-,32)
reseterror
:end
echo -a * %i == %o
}