• Robert Griesemer's avatar
    - fixed bug which prevented parser.go from compiling · a1ee6804
    Robert Griesemer authored
      (typo in ptr decl lead to an unresolved forward declaration)
    - fixed parser bugs
    - fixed Makefile
    - now successfully parses most code
    
    Issues:
    - composite literals (cannot be identified easily from syntax alone)
    - new(T, ...) (cannot be identified easily from syntax alone since
      new is not a keyword and thus could be a different function then
      the allocation function at which point "new((x + y))" is legal,
      but the inner "(x" looks like the beginning of a function type)
    
    R=r
    OCL=15515
    CL=15515
    a1ee6804
scanner.go 13.3 KB