~andreafeletto/zig-scfg#1: 
Some atoms only work when quoted

This will fail:

foo bar {
	baz ?
}

While this will succeed:

foo bar {
	baz "?'"
}

According to the spec, the only difference between atom and dquoted-word is that the latter also accepts single quotes, curly braces and whitespace as value.

Status
RESOLVED FIXED
Submitter
~gbrlsnchs
Assigned to
No-one
Submitted
1 year, 10 months ago
Updated
1 year, 10 months ago
Labels
bug

~gbrlsnchs 1 year, 10 months ago

There's an extra single quote in the successful example, but the behavior still applies:

foo bar {
	baz "?"
}

~andreafeletto 1 year, 10 months ago

Will fix it this night. Thanks for the report.

~gbrlsnchs referenced this from #1 1 year, 10 months ago

~gbrlsnchs 1 year, 10 months ago

I've made an attempt on fixing it with https://lists.sr.ht/~andreafeletto/public-inbox/patches/38411. I hope that helps! :-)

On Tue, Jan 24, 2023, at 09:54, ~andreafeletto wrote:

Will fix it this night. Thanks for the report.

-- View on the web: https://todo.sr.ht/~andreafeletto/zig-scfg/1#event-222605

~andreafeletto REPORTED FIXED 1 year, 10 months ago

Register here or Log in to comment, or comment via email.