Skip to content

My changes testing PeppaPEG for my needs - #145

Open
mingodad wants to merge 14 commits into
soasme:mainfrom
mingodad:dad
Open

My changes testing PeppaPEG for my needs#145
mingodad wants to merge 14 commits into
soasme:mainfrom
mingodad:dad

Conversation

@mingodad

Copy link
Copy Markdown
Contributor

I'm submitting this for the author evaluate if some of it is worth add to his repository

@soasme
soasme self-requested a review December 15, 2021 21:32
Comment thread shell.c Outdated
" --debug/-d\t\toutput debug info\n"
#endif
" --json/-j\t\tjson ast output\n"
" --json2/-J\t\tjson ast output with only arrays\n"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--json2 is a little bit confusing and does not clearly specify the purpose of the option.

How about --format=jsonarray?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion.
Renamed to -jsonArray

Comment thread peppa.h Outdated

# ifndef P4_CALLOC
/**
* The realloc function. By default, it's `realloc`.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the document should be for calloc rather than realloc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you !
It was my fault copy and paste.

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

Successfully merging this pull request may close these issues.

2 participants