From c9502edefdc8d79c6682d23dddffdabe3130ec18 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Sat, 20 Jun 2015 08:33:09 -0400 Subject: [PATCH] add a comment --- src/grammar/repr.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/grammar/repr.rs b/src/grammar/repr.rs index 1e85e20..b5d2e1e 100644 --- a/src/grammar/repr.rs +++ b/src/grammar/repr.rs @@ -13,6 +13,8 @@ pub use grammar::parse_tree::{NonterminalString, Span, TerminalString}; #[derive(Clone, Debug)] pub struct Grammar { + // a unique prefix that can be appended to identifiers to ensure + // that they do not conflict with any action strings pub prefix: String, pub action_fn_defns: Vec, pub productions: Map>,