• T
    Build backend/parser/scan.l and interfaces/ecpg/preproc/pgc.l standalone. · 72b1e3a2
    Tom Lane 提交于
    Now that we know about the %top{} trick, we can revert to building flex
    lexers as separate .o files.  This is worth doing for a couple of reasons
    besides sheer cleanliness.  We can narrow the scope of the -Wno-error flag
    that's forced on scan.c.  Also, since these grammar and lexer files are
    so large, splitting them into separate build targets should have some
    advantages in build speed, particularly in parallel or ccache'd builds.
    
    We have quite a few other .l files that could be changed likewise, but the
    above arguments don't apply to them, so the benefit of fixing them seems
    pretty minimal.  Leave the rest for some other day.
    72b1e3a2
ecpg.trailer 55.0 KB