Browse Source

Belated checkin of keywords.

Rusty Russell 16 years ago
parent
commit
c693a0e25d
2 changed files with 6 additions and 6 deletions
  1. 3 3
      ccan/tdb/tools/keywords.c
  2. 3 3
      ccan/tdb/tools/keywords.gperf

+ 3 - 3
ccan/tdb/tools/keywords.c

@@ -139,16 +139,16 @@ find_keyword (register const char *str, register unsigned int len)
 #line 42 "keywords.gperf"
 #line 42 "keywords.gperf"
       {"tdb_traverse_end", OP_TDB_TRAVERSE_END, op_analyze_traverse,},
       {"tdb_traverse_end", OP_TDB_TRAVERSE_END, op_analyze_traverse,},
 #line 38 "keywords.gperf"
 #line 38 "keywords.gperf"
-      {"tdb_transaction_cancel", OP_TDB_TRANSACTION_CANCEL, op_add_nothing,},
+      {"tdb_transaction_cancel", OP_TDB_TRANSACTION_CANCEL, op_analyze_transaction,},
 #line 41 "keywords.gperf"
 #line 41 "keywords.gperf"
       {"tdb_traverse_start", OP_TDB_TRAVERSE_START, op_add_traverse,},
       {"tdb_traverse_start", OP_TDB_TRAVERSE_START, op_add_traverse,},
       {""},
       {""},
 #line 34 "keywords.gperf"
 #line 34 "keywords.gperf"
       {"tdb_append", OP_TDB_APPEND, op_add_append,},
       {"tdb_append", OP_TDB_APPEND, op_add_append,},
 #line 37 "keywords.gperf"
 #line 37 "keywords.gperf"
-      {"tdb_transaction_start", OP_TDB_TRANSACTION_START, op_add_nothing,},
+      {"tdb_transaction_start", OP_TDB_TRANSACTION_START, op_add_transaction,},
 #line 39 "keywords.gperf"
 #line 39 "keywords.gperf"
-      {"tdb_transaction_commit", OP_TDB_TRANSACTION_COMMIT, op_add_nothing,},
+      {"tdb_transaction_commit", OP_TDB_TRANSACTION_COMMIT, op_analyze_transaction,},
 #line 40 "keywords.gperf"
 #line 40 "keywords.gperf"
       {"tdb_traverse_read_start", OP_TDB_TRAVERSE_READ_START, op_add_traverse,},
       {"tdb_traverse_read_start", OP_TDB_TRAVERSE_READ_START, op_add_traverse,},
       {""}, {""},
       {""}, {""},

+ 3 - 3
ccan/tdb/tools/keywords.gperf

@@ -34,9 +34,9 @@ tdb_store, OP_TDB_STORE, op_add_store,
 tdb_append, OP_TDB_APPEND, op_add_append,
 tdb_append, OP_TDB_APPEND, op_add_append,
 tdb_get_seqnum, OP_TDB_GET_SEQNUM, op_add_seqnum,
 tdb_get_seqnum, OP_TDB_GET_SEQNUM, op_add_seqnum,
 tdb_wipe_all, OP_TDB_WIPE_ALL, op_add_nothing,
 tdb_wipe_all, OP_TDB_WIPE_ALL, op_add_nothing,
-tdb_transaction_start, OP_TDB_TRANSACTION_START, op_add_nothing,
-tdb_transaction_cancel, OP_TDB_TRANSACTION_CANCEL, op_add_nothing,
-tdb_transaction_commit, OP_TDB_TRANSACTION_COMMIT, op_add_nothing,
+tdb_transaction_start, OP_TDB_TRANSACTION_START, op_add_transaction,
+tdb_transaction_cancel, OP_TDB_TRANSACTION_CANCEL, op_analyze_transaction,
+tdb_transaction_commit, OP_TDB_TRANSACTION_COMMIT, op_analyze_transaction,
 tdb_traverse_read_start, OP_TDB_TRAVERSE_READ_START, op_add_traverse,
 tdb_traverse_read_start, OP_TDB_TRAVERSE_READ_START, op_add_traverse,
 tdb_traverse_start, OP_TDB_TRAVERSE_START, op_add_traverse,
 tdb_traverse_start, OP_TDB_TRAVERSE_START, op_add_traverse,
 tdb_traverse_end, OP_TDB_TRAVERSE_END, op_analyze_traverse,
 tdb_traverse_end, OP_TDB_TRAVERSE_END, op_analyze_traverse,