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

Documentation for state transitions appears OOB #184

Closed
Y-Less opened this issue Sep 10, 2017 · 0 comments
Closed

Documentation for state transitions appears OOB #184

Y-Less opened this issue Sep 10, 2017 · 0 comments

Comments

@Y-Less
Copy link
Member

Y-Less commented Sep 10, 2017

Example (compiled with -r):

#include <a_samp>

/**

**/

FuncWithState() <Automata : StateA>
{
}

/**

**/

FuncWithState() <Automata : StateB>
{
}

/**

**/

main()
{
	state Automata : StateB;
	FuncWithState();
}

Produces (amongst other data):

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="file:///D|/work/SA-MP/pawno/xml/pawndoc.xsl" type="text/xsl"?>
<doc source="D:\work\SA-MP\gamemodes\statedoc.pwn">
	<assembly>
		<name>statedoc.pwn</name>
	</assembly>
	<members>
		<member name="M:main" syntax="main()">
			<attribute name="entry"/>
			<stacksize value="3"/>
			<dependency name="FuncWithState"/>
			<transition target="p�Q��"/>

		</member>

	</members>
</doc>

Which includes:

			<transition target="p�Q��"/>

Pretty sure that should be:

			<transition target="StateB"/>

I've had worse garbarge that included quotes, screwing up the XML, and what looked like other old tags.

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

2 participants