diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g index e0af47afc57497ed8812b0f811080208bd7b211d..8518295c19eb4fd2035cef73907a6055b424b5e6 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 = "':-'"; +//} +// : ":-" +//;