Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | 8cc50d6d429c3c173147f3a61cf54d836a35f1bc |
|---|---|
| Date: | 2009-06-08 20:33:41 |
| User: | stephan |
| Comment: | changed a static int to a private enum |
Tags And Properties
- branch=trunk inherited from [a870fea998]
- sym-trunk inherited from [a870fea998]
Changes
[hide diffs]Changes to src/pegc.c
@@ -1280,11 +1280,11 @@
to change the implementations of the list rules and
pegc_r_list_a(). Having all of the rules in a contiguous array
simplifies those implementations.
*/
if( !st ) return PegcRule_invalid;
- const size_t blockSize = 3; /* number of rules to allocate at a time. */
+ enum { blockSize = 5 }; /* number of rules to allocate at a time. */
int count = 1;
PegcRule * li = 0;
int pos = 0;
bool ok = true;
while( true )