earwig/mwparserfromhell — pull request #81 by davidswinegar (2014-07-21 17:27:54+00:00)
Title: Implement MediaWiki table parsing

(earwig/mwparserfromhell#10) These tables are just substitutes for HTML tags, so I used the existing Tag node with a few changes. This is a big pull request but I'm available to make any changes you would like to see. This also doesn't fix the issues from earwig/mwparserfromhell#55 regarding comments/templates as whitespace or handle implicitly closing tags from earwig/mwparserfromhell#40. Because the scope of those issues are greater than just tables I didn't implement them here.

One note: I also changed `context` in the CTokenizer to use `uint64_t` to ensure an exact width, which requires an include of ``. I'm not sure how well this include works with VS2008 and VS2010, and I currently don't have access to a Windows computer, but it might be necessary in `tokenizer.h` to do something like:
```
#ifdef _WIN32
typedef unsigned long long int uint64_t;
#else
#include
#endif
```