Menu

Commit [r3182]  Maximize  Restore  History

added enum for levelorders, using the following commands

cat levelorder.txt | perl -ne 'if (/stricmp\(command\, \"([\w_]+)\"/)
{$x = $1; print "CMD_LEVELORDER_" . uc($x) . ",\n"}' >
cmd_levelorder.txt

cat levelorder.txt | perl -ne 'if (/stricmp\(command\, \"([\w_]+)\"/)
{$x = $1; print "LIST_ADD(CMD_LEVELORDER_" . uc($x) . ", \"" . $x
."\");\n"}' > cmd_levelorder_add.txt

anallyst 2011-03-10

MongoDB Logo MongoDB