~savagebutcher


#111 Single quote marks not accepted in config file comments 3 months ago

Ticket created by ~savagebutcher on ~emersion/kanshi

Since latest update, single quote marks in a config file comment result in:

scfg: unexpected ''' in atom
failed to parse config file

This config result in the error above:

profile test {
	exec pactl set-default-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink # test'test
}

While escaping the quote mark fixes it:

profile test {
	exec pactl set-default-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink # test\'test
}

I believe comments should be ignored altogether and not parsed, right?

Thanks in advance!