• Robert Griesemer's avatar
    Added mechanism for very precise self-testing: · e45eb606
    Robert Griesemer authored
    - in selftest mode (-t) interpret comments of the form /* ERROR */ and /* SYNC */
      and validate reported errors with the error markings in a file
    - added initial selftest.go file
    
    Also:
    - fixed an issue with empty blocks
    - generally report better error messages
    - added many more tests to the test script (essentially all .go programs which
      have no syntax errors)
    
    R=r
    OCL=17426
    CL=17426
    e45eb606
scanner.go 15.2 KB