[Groonga-commit] groonga/grnxx at cb9e81a [master] Fix a bug of LOGICAL_NOT.

Back to archive index

susumu.yata null+****@clear*****
Wed Mar 5 12:18:49 JST 2014


susumu.yata	2014-03-05 12:18:49 +0900 (Wed, 05 Mar 2014)

  New Revision: cb9e81af9a357833cb5a763e2e7ed56ac223d61b
  https://github.com/groonga/grnxx/commit/cb9e81af9a357833cb5a763e2e7ed56ac223d61b

  Message:
    Fix a bug of LOGICAL_NOT.
    
    Redmine: fixes #2381.

  Modified files:
    lib/grnxx/calc_impl.cpp

  Modified: lib/grnxx/calc_impl.cpp (+1 -1)
===================================================================
--- lib/grnxx/calc_impl.cpp    2014-03-05 12:09:43 +0900 (0f8a872)
+++ lib/grnxx/calc_impl.cpp    2014-03-05 12:18:49 +0900 (5294823)
@@ -1068,7 +1068,7 @@ bool CalcImpl::push_token(const CalcToken &token,
       }
       // 直前の単項演算子を適用した結果に置き換える.
       auto node = create_unary_operator_node(
-          LOGICAL_NOT_OPERATOR, stack->back().node());
+          LOGICAL_NOT_OPERATOR, token.node());
       if (!node) {
         return false;
       }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index