From 5fc2eb19c9b6604a71c34fe01be31d15010c33ee Mon Sep 17 00:00:00 2001
From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl>
Date: Mon, 29 Nov 2010 11:41:12 +0100
Subject: [PATCH] Fixed paraphrases in lexer

---
 libwccl/parser/grammar.g | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g
index e0af47a..8518295 100644
--- a/libwccl/parser/grammar.g
+++ b/libwccl/parser/grammar.g
@@ -931,28 +931,28 @@ options {
 
 QUOT_MARK
 options {
-	paraphrase = "Quota mark";
+	paraphrase = "Quote";
 } 
 	: '\'' 
 ;
 
 APOS_MARK
 options {
-	paraphrase = "Aposptrophe mark";
+	paraphrase = "Apostrophe";
 }
 	: '"' 
 ;
 
 Q_MARK
 options {
-	paraphrase = "Query mark";
+	paraphrase = "Question mark";
 }
 	: '?'
 ;
 
 E_MARK
 options {
-	paraphrase = "Exclamanation mark";
+	paraphrase = "Exclamation mark";
 }
 	: '!'
 ;
@@ -966,7 +966,7 @@ options {
 
 TST_PREFIX
 options {
-	paraphrase = "Tag set (symbol) prefix";
+	paraphrase = "Symset prefix";
 }
 	: "$t:"
 ;
@@ -1075,7 +1075,8 @@ options {
 	paraphrase = "Multi line comment";
 }
   : "/*"
-	(		 /* This actually works OK despite the ambiguity that
+	(			// TODO: test it and add reference to the site it's taken from!
+				/* This actually works OK despite the ambiguity that
 				'\r' '\n' can be matched in one alternative or by matching
 				'\r' in one iteration and '\n' in another.. But 
 				this is really matched just by one rule per (...)* 
@@ -1100,9 +1101,9 @@ options {
 	: '#' 
 ;
 
-DSEPARATOR
-options { 
-	paraphrase = "':-'"; 
-}
-	: ":-" 
-;
+//DSEPARATOR
+//options { 
+//	paraphrase = "':-'"; 
+//}
+//	: ":-" 
+//;
-- 
GitLab