Fix no_float build.

This commit is contained in:
Stephen Chung 2020-09-23 12:06:17 +08:00
parent 4e0f887025
commit 39433164f2

View File

@ -3,12 +3,13 @@
use crate::def_package;
use crate::parser::INT;
use crate::plugin::*;
use crate::token::Position;
#[cfg(not(feature = "no_float"))]
use crate::parser::FLOAT;
#[cfg(not(feature = "no_float"))]
use crate::{result::EvalAltResult, token::Position};
use crate::result::EvalAltResult;
#[cfg(feature = "no_std")]
#[cfg(not(feature = "no_float"))]