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

Extra "}" ends processing of the config file #6

Open
Lisias opened this issue Jun 24, 2020 · 0 comments
Open

Extra "}" ends processing of the config file #6

Lisias opened this issue Jun 24, 2020 · 0 comments

Comments

@Lisias
Copy link

Lisias commented Jun 24, 2020

The following config file

@PART[some-part-1]
{
	%MODULE[something]
	{
		foo = bar
	}
}

@PART[some-part-2]
{
	%MODULE[something]
	{
		foo = bar
	}
}

// Note this extra brace
}
// end note

@PART[some-part-3]
{
	%MODULE[something]
	{
		foo = bar
	}
}

Renders the some-part-3 patch unreachable.

This is likely something on the KSP file parser, as some-part-3 patch is not being listed on the KSP.log - but I need to document this krap somewhere, and this issue looks a good place.

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

1 participant