J
Jamis Buck
Didn't see this discussed in the archives...if I just missed it, I would
appreciate a pointer to the discussion.
Is it possible (or would it be difficult to add a way) to discover the
line number on which a value in a YAML document was defined? I'm
thinking of Copland, which uses YAML configuration files; it would be
nice to say to a user: "oops, you specified a service that doesn't exist
*at this line number in this configuration file*". It would make it a
lot easier to debug Copland-based apps, anyway.
--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
"I use octal until I get to 8, and then I switch to decimal."
appreciate a pointer to the discussion.
Is it possible (or would it be difficult to add a way) to discover the
line number on which a value in a YAML document was defined? I'm
thinking of Copland, which uses YAML configuration files; it would be
nice to say to a user: "oops, you specified a service that doesn't exist
*at this line number in this configuration file*". It would make it a
lot easier to debug Copland-based apps, anyway.
--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
"I use octal until I get to 8, and then I switch to decimal."