Poettering: systemd for Administrators, Part VIII
Poettering: systemd for Administrators, Part VIII
Posted Apr 28, 2011 15:59 UTC (Thu) by dskoll (subscriber, #1630)In reply to: Poettering: systemd for Administrators, Part VIII by elanthis
Parent article: Poettering: systemd for Administrators, Part VIII
Once you get into dealing with line numbers you're really dealing with the innards of your parser.
Not at all. You really just need a way to know which file you're currently reading from. (You can keep track of line numbers on your own.) An API that didn't expose the file name would be horrible for producing diagnostics.