Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
773fffa0
Commit
773fffa0
authored
14 years ago
by
ilor
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:wccl
parents
5b0138a5
5fc2eb19
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/parser/grammar.g
+13
-12
13 additions, 12 deletions
libwccl/parser/grammar.g
with
13 additions
and
12 deletions
libwccl/parser/grammar.g
+
13
−
12
View file @
773fffa0
...
@@ -931,28 +931,28 @@ options {
...
@@ -931,28 +931,28 @@ options {
QUOT_MARK
QUOT_MARK
options {
options {
paraphrase = "Quot
a mark
";
paraphrase = "Quot
e
";
}
}
: '\''
: '\''
;
;
APOS_MARK
APOS_MARK
options {
options {
paraphrase = "Apos
p
trophe
mark
";
paraphrase = "Apostrophe";
}
}
: '"'
: '"'
;
;
Q_MARK
Q_MARK
options {
options {
paraphrase = "Que
ry
mark";
paraphrase = "Que
stion
mark";
}
}
: '?'
: '?'
;
;
E_MARK
E_MARK
options {
options {
paraphrase = "Exclama
na
tion mark";
paraphrase = "Exclamation mark";
}
}
: '!'
: '!'
;
;
...
@@ -966,7 +966,7 @@ options {
...
@@ -966,7 +966,7 @@ options {
TST_PREFIX
TST_PREFIX
options {
options {
paraphrase = "
Tag set (symbol)
prefix";
paraphrase = "
Symset
prefix";
}
}
: "$t:"
: "$t:"
;
;
...
@@ -1075,7 +1075,8 @@ options {
...
@@ -1075,7 +1075,8 @@ options {
paraphrase = "Multi line comment";
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' '\n' can be matched in one alternative or by matching
'\r' in one iteration and '\n' in another.. But
'\r' in one iteration and '\n' in another.. But
this is really matched just by one rule per (...)*
this is really matched just by one rule per (...)*
...
@@ -1100,9 +1101,9 @@ options {
...
@@ -1100,9 +1101,9 @@ options {
: '#'
: '#'
;
;
DSEPARATOR
//
DSEPARATOR
options {
//
options {
paraphrase = "':-'";
//
paraphrase = "':-'";
}
//
}
: ":-"
//
: ":-"
;
//
;
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment