Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control package name generation #52

Open
ghost opened this issue Aug 20, 2016 · 1 comment
Open

Control package name generation #52

ghost opened this issue Aug 20, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 20, 2016

It would be nice to be able to control the name given to the package of the parser.peg.go instead of modifying it after the code was generated.

Sorry, nevermind. Figured it depends on the name given in peg file.

@pointlander
Copy link
Owner

You can, just change the package name. Example:
https://github.com/pointlander/peg/blob/master/peg.peg#L11

On Sat, Aug 20, 2016 at 12:18 PM, wvxvw [email protected] wrote:

It would be nice to be able to control the name given to the package of
the parser.peg.go instead of modifying it after the code was generated.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#52, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPZFAKW3iVq0wp46AgMK1EGf2NB9tXzks5qh0TigaJpZM4JpIbI
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant