generator: Switch #[macro_use] to use
and exclude nom::dbg
This avoids an obnoxious error when attemting to use `dbg!()` while debugging the generator. Unfortunately there seems to be no way to import * except `dbg`, or shadow `dbg` (using eg. `use nom::{dbg as _nom_dbg, *};`).
This commit is contained in:
parent
b9ac0c3892
commit
2ae160cfc4
|
@ -1,11 +1,7 @@
|
||||||
#![recursion_limit = "256"]
|
#![recursion_limit = "256"]
|
||||||
|
|
||||||
#[macro_use]
|
use nom::{alt, char, do_parse, map, named, opt, tag, take_while1, terminated};
|
||||||
extern crate nom;
|
use quote::*;
|
||||||
#[macro_use]
|
|
||||||
extern crate quote;
|
|
||||||
pub use vk_parse;
|
|
||||||
pub use vkxml;
|
|
||||||
|
|
||||||
use heck::{CamelCase, ShoutySnakeCase, SnakeCase};
|
use heck::{CamelCase, ShoutySnakeCase, SnakeCase};
|
||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
|
|
Loading…
Reference in a new issue