Skip to content
  • Scott McKay's avatar
    Add more stuff to the test suite, and fix what it uncovered. · b6317f29
    Scott McKay authored
     - Behavior of ':default xxx'/[default=xxx] was not stable,
       so add an "empty default" marker and respect it during
       parsing and printing.
     - 'find-option' now returns a third "found-p" value, useful
       for the better handling of defaults.
     - Don't print slot readers/writers if they have the same name
       as what would be (silently) generated by the macrology.
     - Don't print 'import descriptor.proto' lines if there are
       no 'lisp_xxx' options in the generated code.
     - Add 'clear-field' to the API; add the functions it needs.
     - Be more careful about how :conc-name interacts with the
       generation of readers/writers.
     - When parsing from a .proto file, force the conc-name to
       be "" unless requested explicitly not to. This has the
       effect of generating readers/writers for all the fields
       of imported Protobufs messages, which I think is probably
       the desired behavior.
     - Add 'make-byte-vector' for convenience.
    
    Passes 'precheckin'. Even with the new unit tests in place.
    
    
    git-svn-id: http://svn.internal.itasoftware.com/svn/ita/trunk/qres/lisp/quux/protobufs@545177 f8382938-511b-0410-9cdd-bb47b084005c
    b6317f29