lib/scanner: fix macro propagation to submodules

This commit is contained in:
Paul Stemmet 2021-06-16 15:23:11 +00:00 committed by Paul Stemmet
parent e7882ed599
commit 4bf4b50e3d
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
mod error;
// Note that this module must come before all others, as
// they depend on the macros which expand into this scope
#[macro_use]
mod macros;
mod error;
mod scalar;
use atoi::atoi;
use self::error::{ScanError, ScanResult as Result};