• Rob Pike's avatar
    text/template: refactor set parsing · 25d2987d
    Rob Pike authored
    Parse {{define}} blocks during template parsing rather than separately as a set-specific thing.
    This cleans up set parse significantly, and enables the next step, if we want, to unify the
    API for templates and sets.
    Other than an argument change to parse.Parse, which is in effect an internal function and
    unused by client code, there is no API change and no spec change yet.
    
    R=golang-dev, rsc, r
    CC=golang-dev
    https://golang.org/cl/5393049
    25d2987d
Name
Last commit
Last update
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...