Saner munging
This commit is contained in:
parent
c345ac4fe5
commit
5f57c5aed3
@ -4,7 +4,7 @@ use std::collections::HashSet;
|
||||
use crate::parser;
|
||||
|
||||
fn munge(s: &str) -> String {
|
||||
s.replace("?", "_INT_").replace("-", "_DASH_")
|
||||
s.replace("?", "p").replace("-", "_")
|
||||
}
|
||||
|
||||
pub struct LexicalContext<'a> {
|
||||
|
Loading…
Reference in New Issue
Block a user