From: Rusty Russell Date: Mon, 13 Jul 2009 02:06:50 +0000 (+0930) Subject: Belated checkin of keywords. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=c693a0e25d2776d0f0faf715dc20230a56baddc3 Belated checkin of keywords. --- diff --git a/ccan/tdb/tools/keywords.c b/ccan/tdb/tools/keywords.c index cfe445bd..ea0a854a 100644 --- a/ccan/tdb/tools/keywords.c +++ b/ccan/tdb/tools/keywords.c @@ -139,16 +139,16 @@ find_keyword (register const char *str, register unsigned int len) #line 42 "keywords.gperf" {"tdb_traverse_end", OP_TDB_TRAVERSE_END, op_analyze_traverse,}, #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" {"tdb_traverse_start", OP_TDB_TRAVERSE_START, op_add_traverse,}, {""}, #line 34 "keywords.gperf" {"tdb_append", OP_TDB_APPEND, op_add_append,}, #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" - {"tdb_transaction_commit", OP_TDB_TRANSACTION_COMMIT, op_add_nothing,}, + {"tdb_transaction_commit", OP_TDB_TRANSACTION_COMMIT, op_analyze_transaction,}, #line 40 "keywords.gperf" {"tdb_traverse_read_start", OP_TDB_TRAVERSE_READ_START, op_add_traverse,}, {""}, {""}, diff --git a/ccan/tdb/tools/keywords.gperf b/ccan/tdb/tools/keywords.gperf index 005cb88e..7b373912 100644 --- a/ccan/tdb/tools/keywords.gperf +++ b/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_get_seqnum, OP_TDB_GET_SEQNUM, op_add_seqnum, 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_start, OP_TDB_TRAVERSE_START, op_add_traverse, tdb_traverse_end, OP_TDB_TRAVERSE_END, op_analyze_traverse,