Fix some parsing issues (strict parser)


Hi, I have been recently testing my NPL parser against NPL files found in https://nmparsers.svn.codeplex.com/svn/Develop_Branch/NPL, and I found some issues.

It's generally issues like: missing semicolon after field, or missing () around switch value, or not needed semicolon after switch declaration.

I know it's issue with my parser, and I should relax my grammar (btw. is there official NPL grammar published?), but I'd be happy if this patch gets accepted.

This patch was NOT tested with Windows Network Monitor.

Attaching patch against https://nmparsers.svn.codeplex.com/svn/Develop_Branch/NPL

file attachments