mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-19 11:05:45 +00:00
Make parser location optional
This commit is contained in:
parent
aabc96dde9
commit
cbe4e8c5f3
9 changed files with 18 additions and 14 deletions
|
@ -113,7 +113,9 @@
|
|||
#![doc(html_root_url = "https://docs.rs/rustpython-parser/")]
|
||||
|
||||
pub use rustpython_ast as ast;
|
||||
pub use rustpython_parser_core::{source_code, text_size, Mode};
|
||||
#[cfg(feature = "location")]
|
||||
pub use rustpython_parser_core::source_code;
|
||||
pub use rustpython_parser_core::{text_size, Mode};
|
||||
|
||||
mod function;
|
||||
// Skip flattening lexer to distinguish from full parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue