Updated getdate.y

* Fixed code generation issues with bison 3.0.x
* Fixed possible namespace issues
* Fixed compiler warnings