Skip to content
Snippets Groups Projects
Commit fda30a3c authored by Gaius Mulley's avatar Gaius Mulley
Browse files

PR modula2/116918 -fswig correct syntax


This patch fixes the syntax for the generated swig interface file.
The % characters in fprintf require escaping.

gcc/m2/ChangeLog:

	PR modula2/116918
	* gm2-compiler/M2Swig.mod (AnnotateProcedure): Capitalize
	the generated comment, split comment into multiple lines and
	terminate the comment with ".  */".
	(DoCheckUnbounded): Escape the % character with %%.
	(DoWriteFile): Ditto.

Signed-off-by: default avatarGaius Mulley <gaiusmod2@gmail.com>
parent 35dd5cfb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment