Skip to content
Snippets Groups Projects
Commit 5fc2eb19 authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

Fixed paraphrases in lexer

parent d8b86835
No related merge requests found
......@@ -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 = "':-'";
//}
// : ":-"
//;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment