From 5f57c5aed32f075cea4beab8f318205a999e2c6b Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Mon, 18 Nov 2024 21:21:25 -0600 Subject: [PATCH] Saner munging --- src/emitter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emitter.rs b/src/emitter.rs index 8644259..f830c88 100644 --- a/src/emitter.rs +++ b/src/emitter.rs @@ -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> {