From: Jamis Buck Date: 2004-08-20T12:09:37+09:00 Subject: YAML and line numbers 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 jgb3@email.byu.edu http://www.jamisbuck.org/jamis "I use octal until I get to 8, and then I switch to decimal."