mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
[muparser] Convert more exception handling into explicit errors
This commit is contained in:
@@ -288,7 +288,7 @@ class ParserToken {
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/** \biref Get value of the token.
|
||||
/** \brifef Get value of the token.
|
||||
|
||||
Only applicable to variable and value tokens.
|
||||
*/
|
||||
@@ -299,7 +299,7 @@ class ParserToken {
|
||||
case cmVAR:
|
||||
return *((TBase *)m_pTok);
|
||||
default:
|
||||
throw ParserError(ecVAL_EXPECTED);
|
||||
return ParserError(ecVAL_EXPECTED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user