• Russ Cox's avatar
    build: annotations and modifications for c2go · ebce7944
    Russ Cox authored
    The main changes fall into a few patterns:
    
    1. Replace #define with enum.
    
    2. Add /*c2go */ comment giving effect of #define.
    This is necessary for function-like #defines and
    non-enum-able #defined constants.
    (Not all compilers handle negative or large enums.)
    
    3. Add extra braces in struct initializer.
    (c2go does not implement the full rules.)
    
    This is enough to let c2go typecheck the source tree.
    There may be more changes once it is doing
    other semantic analyses.
    
    LGTM=minux, iant
    R=minux, dave, iant
    CC=golang-codereviews
    https://golang.org/cl/106860045
    ebce7944
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...