generalize grammar analysis to k>1

This commit is contained in:
Sven M. Hallberg 2013-05-22 20:38:36 +02:00
parent 337cbc2695
commit f5d5c36756
6 changed files with 468 additions and 136 deletions

View file

@ -241,5 +241,6 @@ bool h_eq_ptr(const void *p, const void *q) {
}
HHashValue h_hash_ptr(const void *p) {
// XXX just djbhash it
return (uintptr_t)p >> 4;
}