Skip to content

Commit

Permalink
Merge pull request #400 from kristiandupont/use-generated-tag-in-top-…
Browse files Browse the repository at this point in the history
…comment

Use generated tag in top comment
  • Loading branch information
hildjj authored Mar 29, 2023
2 parents 2eed4a7 + 48b434e commit dfca04c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ fatfisz <fatfisz@gmail.com> (https://github.com/fatfisz/)
fpirsch <fpirsch@free.fr> (https://github.com/fpirsch/)
markw65 <mark@replayroutes.com> (https://github.com/markw65/)
Andy (https://github.com/AndrewRayCode)
Kristian Dupont <kristian@kristiandupont.com> (https://github.com/kristiandupont/)
2 changes: 1 addition & 1 deletion docs/js/examples.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Peggy 3.0.2.
// @generated by Peggy 3.0.2.
//
// https://peggyjs.org/
(function(root) {
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler/passes/generate-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ function generateJS(ast, options) {
function generateWrapper(toplevelCode) {
function generateGeneratedByComment() {
return [
`// Generated by Peggy ${VERSION}.`,
`// @generated by Peggy ${VERSION}.`,
"//",
"// https://peggyjs.org/",
];
Expand Down
2 changes: 1 addition & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Peggy 3.0.2.
// @generated by Peggy 3.0.2.
//
// https://peggyjs.org/

Expand Down

0 comments on commit dfca04c

Please sign in to comment.