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
92edc096
Commit
92edc096
authored
14 years ago
by
Adam Wardynski
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:wccl
parents
79245c30
027e6d24
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/parser/grammar.g
+10
-3
10 additions, 3 deletions
libwccl/parser/grammar.g
with
10 additions
and
3 deletions
libwccl/parser/grammar.g
+
10
−
3
View file @
92edc096
...
...
@@ -198,8 +198,8 @@ parse_position_operator
// 'a' "a" [] ['a'] ['a', 'b'] ["a"] ["a", "b"] ['a', "b"]
// Parsing strset literal and returning plain strset value.
// Returns boost::shared_ptr<StrSet>
strset_literal
returns
[boost::shared_ptr<StrSet> s_set]
strset_literal
returns
[boost::shared_ptr<StrSet> s_set]
{
s_set.reset(new StrSet());
}
...
...
@@ -488,7 +488,8 @@ symset_operator
returns [boost::shared_ptr<Function<TSet> > ret]
: ret = symset_var_val [tagset, vars]
| ret = symset_condition [tagset, vars]
//
| LPAREN ret = symset_operator [tagset, vars] RPAREN
;
// ----------------------------------------------------------------------------
...
...
@@ -540,6 +541,8 @@ position_operator
: ret = position_var_val [vars]
| ret = position_relpos [tagset, vars]
| ret = position_condition [tagset, vars]
//
| LPAREN ret = position_operator [tagset, vars] RPAREN
;
// ----------------------------------------------------------------------------
...
...
@@ -609,6 +612,8 @@ string_operator [const Corpus2::Tagset& tagset, Variables& vars]
| ret = strset_affix [tagset, vars]
| ret = strset_var_val [tagset, vars]
| ret = strset_condition [tagset, vars]
//
| LPAREN ret = string_operator [tagset, vars] RPAREN
;
// ----------------------------------------------------------------------------
...
...
@@ -738,6 +743,8 @@ bool_operator
| ret = equal_operator [tagset, vars]
| ret = in_operator [tagset, vars]
| ret = inter_operator [tagset, vars]
//
| LPAREN ret = bool_operator [tagset, vars] RPAREN
;
// ----------------------------------------------------------------------------
...
...
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