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
d40804e0
Commit
d40804e0
authored
13 years ago
by
Bartosz Broda
Browse files
Options
Downloads
Patches
Plain Diff
fix secret feature (-A 1 + --tabs work correctly) by Ilor
parent
a3e9f32a
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wccl-apps/wccl-run.cpp
+3
-3
3 additions, 3 deletions
wccl-apps/wccl-run.cpp
with
3 additions
and
3 deletions
wccl-apps/wccl-run.cpp
+
3
−
3
View file @
d40804e0
...
...
@@ -310,7 +310,7 @@ void Runner::run(boost::shared_ptr<Corpus2::TokenReader> reader, bool first)
if
(
aggregate_output_
)
{
want_header_
=
false
;
}
if
(
!
outputs
.
empty
()
&&
!
aggregate_output_
)
{
if
(
!
outputs
.
empty
()
&&
(
tabs
||
!
aggregate_output_
)
)
{
output_tabular
(
outputs
);
outputs
.
clear
();
}
...
...
@@ -318,7 +318,7 @@ void Runner::run(boost::shared_ptr<Corpus2::TokenReader> reader, bool first)
timer
.
check_slice
();
}
if
(
!
filter_op_
)
{
if
(
!
aggregate_output_
)
{
if
(
tabs
||
!
aggregate_output_
)
{
std
::
cout
<<
"
\n
"
;
}
else
{
outputs
.
resize
(
outputs
.
size
()
+
1
);
...
...
@@ -326,7 +326,7 @@ void Runner::run(boost::shared_ptr<Corpus2::TokenReader> reader, bool first)
}
if
(
first
)
break
;
}
if
(
!
outputs
.
empty
()
&&
aggregate_output_
)
{
if
(
!
outputs
.
empty
())
{
output_tabular
(
outputs
);
}
}
...
...
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