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
7b98f49d
Commit
7b98f49d
authored
13 years ago
by
ilor
Browse files
Options
Downloads
Patches
Plain Diff
fix crash when no -u given
parent
1923cc70
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wccl-apps/wccl-rules.cpp
+3
-1
3 additions, 1 deletion
wccl-apps/wccl-rules.cpp
with
3 additions
and
1 deletion
wccl-apps/wccl-rules.cpp
+
3
−
1
View file @
7b98f49d
...
...
@@ -231,7 +231,9 @@ int main(int argc, char** argv)
try
{
const
Corpus2
::
Tagset
&
tagset
=
Corpus2
::
get_named_tagset
(
tagset_load
);
RuleRunner
runner
(
tagset
);
runner
.
set_tag_rule_iterations
(
vm
[
"until-done-iterations"
].
as
<
int
>
());
if
(
vm
.
count
(
"until-done-iterations"
))
{
runner
.
set_tag_rule_iterations
(
vm
[
"until-done-iterations"
].
as
<
int
>
());
}
runner
.
use_progress
(
progress
);
foreach
(
const
std
::
string
&
file
,
ccl_files
)
{
std
::
pair
<
int
,
int
>
res
=
runner
.
load_more_rules
(
file
);
...
...
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