1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![cfg_attr(test, allow(nonstandard_style))]
#![allow(unused_parens)]
pub mod easy_lexer;
pub mod header;
pub mod lexer;
pub mod multi_line_comments;
pub mod parser;
pub mod repeated_newline_filter;
pub mod section;
pub mod str_cache_impl;
type StaticStr = &'static str;
pub fn next_id() -> usize {
use std::sync::atomic::AtomicUsize;
static GLOBAL_COUNTER: AtomicUsize = AtomicUsize::new(0);
GLOBAL_COUNTER.fetch_add(1, std::sync::atomic::Ordering::AcqRel)
}