Fix bug in RegexpLiteral concerning --auto-gen-config
Merge pull request #850 from jonas054/fix_auto_gen_config

Fix bug in RegexpLiteral concerning --auto-gen-config