diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-14 22:21:11 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-14 22:21:11 +0300 |
commit | 6d61db28faaa54ed2cbbc2d4ae44c8245eaf951a (patch) | |
tree | d7e129fc93927278270c981c80886196b2861737 /phrase-extract/relax-parse-main.cpp | |
parent | 05ead45e71916c5763c5c4b6375e2ca6838f3995 (diff) |
use astyle 2.01. It's on Edinburgh server and doesn't screw up enum
Diffstat (limited to 'phrase-extract/relax-parse-main.cpp')
-rw-r--r-- | phrase-extract/relax-parse-main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phrase-extract/relax-parse-main.cpp b/phrase-extract/relax-parse-main.cpp index 8188d70ec..a6d50cef5 100644 --- a/phrase-extract/relax-parse-main.cpp +++ b/phrase-extract/relax-parse-main.cpp @@ -131,7 +131,7 @@ void LeftBinarize( SyntaxTree &tree, ParentNodes &parents ) const SplitPoints &point = *p; if (point.size() > 3) { const vector< SyntaxNode* >& topNodes - = tree.GetNodes( point[0], point[point.size()-1]-1); + = tree.GetNodes( point[0], point[point.size()-1]-1); string topLabel = topNodes[0]->GetLabel(); for(size_t i=2; i<point.size()-1; i++) { @@ -149,7 +149,7 @@ void RightBinarize( SyntaxTree &tree, ParentNodes &parents ) if (point.size() > 3) { int endPoint = point[point.size()-1]-1; const vector< SyntaxNode* >& topNodes - = tree.GetNodes( point[0], endPoint); + = tree.GetNodes( point[0], endPoint); string topLabel = topNodes[0]->GetLabel(); for(size_t i=1; i<point.size()-2; i++) { |