[Groonga-commit] groonga/groonga at 2b20ff6 [master] grn_ts: add constants for arithmetic operators

Back to archive index

susumu.yata null+****@clear*****
Wed Sep 2 15:34:38 JST 2015


susumu.yata	2015-09-02 15:34:38 +0900 (Wed, 02 Sep 2015)

  New Revision: 2b20ff616df9d991e5ba2b886567fe32d9c03ea0
  https://github.com/groonga/groonga/commit/2b20ff616df9d991e5ba2b886567fe32d9c03ea0

  Message:
    grn_ts: add constants for arithmetic operators
    
    GitHub: #387

  Modified files:
    lib/grn_ts.h

  Modified: lib/grn_ts.h (+20 -15)
===================================================================
--- lib/grn_ts.h    2015-09-02 14:31:39 +0900 (4504c7d)
+++ lib/grn_ts.h    2015-09-02 15:34:38 +0900 (f9333fa)
@@ -62,23 +62,28 @@ typedef enum {
   GRN_TS_OP_NOP,
 
   /* Unary operators. */
-  GRN_TS_OP_LOGICAL_NOT,  /* ! */
-  GRN_TS_OP_BITWISE_NOT,  /* ~ */
-  GRN_TS_OP_POSITIVE,     /* + */
-  GRN_TS_OP_NEGATIVE,     /* - */
+  GRN_TS_OP_LOGICAL_NOT,    /* ! */
+  GRN_TS_OP_BITWISE_NOT,    /* ~ */
+  GRN_TS_OP_POSITIVE,       /* + */
+  GRN_TS_OP_NEGATIVE,       /* - */
 
   /* Binary operators. */
-  GRN_TS_OP_LOGICAL_AND,  /* && */
-  GRN_TS_OP_LOGICAL_OR,   /* || */
-  GRN_TS_OP_BITWISE_AND,  /* & */
-  GRN_TS_OP_BITWISE_OR,   /* | */
-  GRN_TS_OP_BITWISE_XOR,  /* ^ */
-  GRN_TS_OP_EQUAL,        /* == */
-  GRN_TS_OP_NOT_EQUAL,    /* != */
-  GRN_TS_OP_LESS,         /* < */
-  GRN_TS_OP_LESS_EQUAL,   /* <= */
-  GRN_TS_OP_GREATER,      /* > */
-  GRN_TS_OP_GREATER_EQUAL /* >= */
+  GRN_TS_OP_LOGICAL_AND,    /* && */
+  GRN_TS_OP_LOGICAL_OR,     /* || */
+  GRN_TS_OP_BITWISE_AND,    /* & */
+  GRN_TS_OP_BITWISE_OR,     /* | */
+  GRN_TS_OP_BITWISE_XOR,    /* ^ */
+  GRN_TS_OP_EQUAL,          /* == */
+  GRN_TS_OP_NOT_EQUAL,      /* != */
+  GRN_TS_OP_LESS,           /* < */
+  GRN_TS_OP_LESS_EQUAL,     /* <= */
+  GRN_TS_OP_GREATER,        /* > */
+  GRN_TS_OP_GREATER_EQUAL,  /* >= */
+  GRN_TS_OP_PLUS,           /* + */
+  GRN_TS_OP_MINUS,          /* - */
+  GRN_TS_OP_MULTIPLICATION, /* * */
+  GRN_TS_OP_DIVISION,       /* / */
+  GRN_TS_OP_MODULUS         /* % */
 } grn_ts_op_type;
 
 typedef enum {
-------------- next part --------------
HTML����������������������������...
Descargar 



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