diff options
author | Haibo Huang <hhb@google.com> | 2019-06-10 11:41:54 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2019-06-10 14:38:44 -0700 |
commit | 4f55151a4b8cbda0ea61646f437fdf57c54190d9 (patch) | |
tree | 478f3db238be7e08885ac80ac8ef1be9935441bb /scripts/options.awk | |
parent | 9ef33ccf9b2e957c1f5e228dbab15fbda1744300 (diff) | |
parent | a40189cf881e9f0db80511c382292a5604c3c3d1 (diff) |
Merge tag 'v1.6.37' into HEAD
Test: build
Bug: 134761359
Change-Id: Iee93c2907d93430a8de681f2e987d37f4b3b17bc
Diffstat (limited to 'scripts/options.awk')
-rwxr-xr-x | scripts/options.awk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/options.awk b/scripts/options.awk index 81b82ff09..fef5dfd78 100755 --- a/scripts/options.awk +++ b/scripts/options.awk @@ -40,7 +40,7 @@ BEGIN{ # the lines, for example by inserting spaces around operators, and all # C preprocessors notice lines that start with '#', most remove comments. # The technique adopted here is to make the final output lines into - # C strings (enclosed in double quotes), preceeded by PNG_DFN. As a + # C strings (enclosed in double quotes), preceded by PNG_DFN. As a # consequence the output cannot contain a 'raw' double quote - instead put # @' in, this will be replaced by a single " afterward. See the parser # script dfn.awk for more capabilities (not required here). Note that if @@ -336,7 +336,7 @@ $1 == "option" && NF >= 2{ # chunk NAME [requires OPT] [enables LIST] [on|off|disabled] # Expands to the 'option' settings appropriate to the reading and -# writing of an ancilliary PNG chunk 'NAME': +# writing of an ancillary PNG chunk 'NAME': # # option READ_NAME requires READ_ANCILLARY_CHUNKS [READ_OPT] # option READ_NAME enables NAME LIST @@ -805,8 +805,8 @@ END{ print comment, "end of options", cend >out # Do the 'setting' values second, the algorithm the standard - # tree walk (O(1)) done in an O(2) while/for loop; interations - # settings x depth, outputing the deepest required macros + # tree walk (O(1)) done in an O(2) while/for loop; iterations + # settings x depth, outputting the deepest required macros # first. print "" >out print "/* SETTINGS */" >out |