zaach/jison — pull request #228 by mike-mcgann (2014-07-27 16:33:25+00:00)
Title: generate({moduleName: "compiler.parser"}) creates default parser variable

When using `generate({moduleName: "compiler.parser"})`, the default `parser` variable is created in the global namespace instead of attaching to `compiler`. When checking for a valid moduleName in `generate()`, the regular expression does not include `.`. This pull request adds that to the regular expression and updates the test case to use `generate` instead of `generateModule`.