This should really be quite simple to do, and would be fairly useful, especially for Gumbo. See also https://github.com/google/gumbo-parser/issues/6.