|
Revision 19958, 0.6 kB
(checked in by mattn, 5 years ago)
|
|
- imported Cache-Memcached-Fast-0.12 (I'll work for porting to win32 later)
|
| Line | |
|---|
| 1 | # Input file for genparser.pl script. |
|---|
| 2 | |
|---|
| 3 | # Name of the parser function. |
|---|
| 4 | parser_func = parse_keyword |
|---|
| 5 | |
|---|
| 6 | # When loose_match is enabled the parser matches only essential |
|---|
| 7 | # characters. This is faster, but not future-compatible. For |
|---|
| 8 | # instance, NOT_FOUND and NOT_STORED can be matched by testing first |
|---|
| 9 | # and fifth character, but if, say, NOT_SET would be introduced, the |
|---|
| 10 | # parser will match it to NOT_STORED until it knows the new keyword. |
|---|
| 11 | loose_match = 0 |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | %% |
|---|
| 15 | |
|---|
| 16 | # List keywords below (in any order). |
|---|
| 17 | |
|---|
| 18 | CLIENT_ERROR |
|---|
| 19 | DELETED |
|---|
| 20 | END |
|---|
| 21 | ERROR |
|---|
| 22 | EXISTS |
|---|
| 23 | NOT_FOUND |
|---|
| 24 | NOT_STORED |
|---|
| 25 | OK |
|---|
| 26 | SERVER_ERROR |
|---|
| 27 | STAT |
|---|
| 28 | STORED |
|---|
| 29 | VALUE |
|---|
| 30 | VERSION |
|---|
| 31 | # incr and decr return non-negative number. |
|---|
| 32 | 0 |
|---|
| 33 | 1 |
|---|
| 34 | 2 |
|---|
| 35 | 3 |
|---|
| 36 | 4 |
|---|
| 37 | 5 |
|---|
| 38 | 6 |
|---|
| 39 | 7 |
|---|
| 40 | 8 |
|---|
| 41 | 9 |
|---|