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

Fix grammar's indent #212

Closed
wants to merge 1 commit into from

Conversation

kariya-mitsuru
Copy link
Contributor

No description provided.

@sdutoit
Copy link
Contributor

sdutoit commented Oct 15, 2013

Hi,

grammar.tex is autogenerated by the makegram script; perhaps you intended to make those changes in the corresponding grammar definitions elsewhere in the source?

I haven't tried this patch yet but if you provide an update that fixes the above I'll have a look. It would also be helpful to have a more detailed description of what you are attempting to fix here.

Thanks,

Stefanus

source/macros.tex:
	Add \noindent to environment bnfbase in order to fix indent.
	Add newcommand \contextdependentkeyword to environment bnfbase for
	indexing context-dependent keywords.
source/lex.tex:
	Transpose an order of \begin{bnf} and \indextext so that \indextext
	is not extracted by tools/makegram.
tools/grambase.tex:
	Use \contextdependentkeyword for indexing.
	Add \end{bnf} and \begin{bnf} between each element.
tools/makegram:
	Remove gramb.sed because it adds an unnecessary blank line.
tools/gramb.sed:
	Remove.
source/grammar.tex:
	Reflect changes above.
@kariya-mitsuru
Copy link
Contributor Author

Sorry, make changes in the corresponding grammer definitions(tools/lex.tex and tools/grambase.tex).
In addition, since tools/makegram was generating an unnecessary blank line, fix it.

@zygoloid
Copy link
Member

Commit 18ebd12 fixed the indentation issue in a more comprehensive way. If you split out the remaining fixes into their own pull requests, we can get those merged.

@kariya-mitsuru kariya-mitsuru deleted the fixindent branch June 30, 2014 14:07
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.

None yet

3 participants