]> granicus.if.org Git - python/commit
Fix the code in Parser/ to also compile with C++. This was mostly casts for
authorAnthony Baxter <anthonybaxter@gmail.com>
Tue, 11 Apr 2006 05:39:14 +0000 (05:39 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Tue, 11 Apr 2006 05:39:14 +0000 (05:39 +0000)
commit114900298ea26e5e25edd5d05f24648dcd5ea95b
tree9db37abbea9f0bd5dc1332f6f710de5e521e3c2c
parent319c47fcdb3b8196cc580c4fab409b0ee58119fe
Fix the code in Parser/ to also compile with C++. This was mostly casts for
malloc/realloc type functions, as well as renaming one variable called 'new'
in tokensizer.c. Still lots more to be done, going to be checking in one
chunk at a time or the patch will be massively huge. Still compiles ok with
gcc.
Parser/bitset.c
Parser/firstsets.c
Parser/grammar.c
Parser/myreadline.c
Parser/parser.c
Parser/pgen.c
Parser/tokenizer.c