Fix build.
This commit is contained in:
parent
42c0eeed57
commit
796206f293
@ -413,7 +413,7 @@ impl Engine {
|
|||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub(crate) const fn track_operation(
|
pub(crate) const fn track_operation(
|
||||||
&self,
|
&self,
|
||||||
_: &crate::GlobalRuntimeState,
|
_: &crate::eval::GlobalRuntimeState,
|
||||||
_: Position,
|
_: Position,
|
||||||
) -> crate::RhaiResultOf<()> {
|
) -> crate::RhaiResultOf<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
|
@ -34,10 +34,6 @@ pub type ParseResult<T> = Result<T, ParseError>;
|
|||||||
|
|
||||||
type FnLib = StraightHashMap<Shared<ScriptFnDef>>;
|
type FnLib = StraightHashMap<Shared<ScriptFnDef>>;
|
||||||
|
|
||||||
const KEYWORD_SEMICOLON: &str = Token::SemiColon.literal_syntax();
|
|
||||||
|
|
||||||
const KEYWORD_CLOSE_BRACE: &str = Token::RightBrace.literal_syntax();
|
|
||||||
|
|
||||||
/// Invalid variable name that acts as a search barrier in a [`Scope`].
|
/// Invalid variable name that acts as a search barrier in a [`Scope`].
|
||||||
const SCOPE_SEARCH_BARRIER_MARKER: &str = "$ BARRIER $";
|
const SCOPE_SEARCH_BARRIER_MARKER: &str = "$ BARRIER $";
|
||||||
|
|
||||||
@ -2468,6 +2464,8 @@ impl Engine {
|
|||||||
pos: Position,
|
pos: Position,
|
||||||
) -> ParseResult<Expr> {
|
) -> ParseResult<Expr> {
|
||||||
use crate::api::custom_syntax::markers::*;
|
use crate::api::custom_syntax::markers::*;
|
||||||
|
const KEYWORD_SEMICOLON: &str = Token::SemiColon.literal_syntax();
|
||||||
|
const KEYWORD_CLOSE_BRACE: &str = Token::RightBrace.literal_syntax();
|
||||||
|
|
||||||
let mut settings = settings;
|
let mut settings = settings;
|
||||||
let mut inputs = StaticVec::new_const();
|
let mut inputs = StaticVec::new_const();
|
||||||
|
Loading…
Reference in New Issue
Block a user