Fossil SCM

Fix typos.

ashepilko 2020-01-09 20:03 trunk
Commit e693ab734e39f2e153de3555a95843ea8606d1b25fe48312c0b30f6792a3bc39
1 file changed +8 -8
--- src/makeheaders.html
+++ src/makeheaders.html
@@ -343,11 +343,11 @@
343343
headers at all.
344344
Instead, makeheaders will write to standard output
345345
information about every definition and declaration that it encounters
346346
in its scan of source files.
347347
The information output includes the type of the definition or
348
-declaration and any comment that preceeds the definition or
348
+declaration and any comment that precedes the definition or
349349
declaration.
350350
The output is in a format that can be easily parsed, and is
351351
intended to be read by another program that will generate
352352
documentation about the program.
353353
We'll talk more about this feature later.
@@ -399,11 +399,11 @@
399399
any of the .h files you write since that will prevent makeheaders
400400
from generating the .h file automatically.
401401
</p>
402402
403403
<p>
404
-The structure of a .c file intented for use with makeheaders is very
404
+The structure of a .c file intended for use with makeheaders is very
405405
simple.
406406
All you have to do is add a single &#8220;<code>#include</code>&#8221; to the
407407
top of the file that sources the header file that makeheaders will generate.
408408
Hence, the beginning of a source file named &#8220;<code>alpha.c</code>&#8221;
409409
might look something like this:
@@ -591,13 +591,13 @@
591591
592592
<p>
593593
In my experience, large projects work better if all of the manually
594594
written code is placed in .c files and all .h files are generated
595595
automatically.
596
-This is slightly different for the traditional C method of placing
596
+This is slightly different from the traditional C method of placing
597597
the interface in .h files and the implementation in .c files, but
598
-it is a refreshing change that brings a noticable improvement to the
598
+it is a refreshing change that brings a noticeable improvement to the
599599
coding experience.
600600
Others, I believe, share this view since I've
601601
noticed recent languages (ex: java, tcl, perl, awk) tend to
602602
support the one-file approach to coding as the only option.
603603
</p>
@@ -619,11 +619,11 @@
619619
#if INTERFACE
620620
#endif
621621
</pre>
622622
Thus any structure definitions that appear after the
623623
&#8220;<code>#if INTERFACE</code>&#8221; but before the corresponding
624
-&#8220;<code>#endif</code>&#8221; are eligable to be copied into the
624
+&#8220;<code>#endif</code>&#8221; are eligible to be copied into the
625625
automatically generated
626626
.h files of other .c files.
627627
</p>
628628
629629
<p>
@@ -684,11 +684,11 @@
684684
<p>
685685
That isn't the complete truth, actually.
686686
The semantics of C are such that once an object becomes visible
687687
outside of a single source file, it is also visible to any user
688688
of the library that is made from the source file.
689
-Makeheaders can not prevent outsiders for using non-exported resources,
689
+Makeheaders can not prevent outsiders from using non-exported resources,
690690
but it can discourage the practice by refusing to provide prototypes
691691
and declarations for the services it does not want to export.
692692
Thus the only real effect of the making an object exportable is
693693
to include it in the output makeheaders generates when it is run
694694
using the -H command line option.
@@ -868,11 +868,11 @@
868868
</pre></blockquote>
869869
870870
<p>
871871
The first form is preferred because only a single declaration of
872872
the constructor is required. The second form requires two declarations,
873
-one in the class definition and one on the defintion of the constructor.
873
+one in the class definition and one on the definition of the constructor.
874874
</p>
875875
876876
<h4>3.6.1 C++ Limitations</h4>
877877
878878
<p>
@@ -1073,11 +1073,11 @@
10731073
<li> The type of the object. (Structure, typedef, macro, etc.)
10741074
<li> Flags to indicate if the declaration is exported (contained within
10751075
an EXPORT_INTERFACE block) or local (contained with LOCAL_INTERFACE).
10761076
<li> A flag to indicate if the object is declared in a C++ file.
10771077
<li> The name of the file in which the object was declared.
1078
-<li> The complete text of any block comment that preceeds the declarations.
1078
+<li> The complete text of any block comment that precedes the declarations.
10791079
<li> If the declaration occurred inside a preprocessor conditional
10801080
(&#8220;<code>#if</code>&#8221;) then the text of that conditional is
10811081
provided.
10821082
<li> The complete text of a declaration for the object.
10831083
</ul>
10841084
--- src/makeheaders.html
+++ src/makeheaders.html
@@ -343,11 +343,11 @@
343 headers at all.
344 Instead, makeheaders will write to standard output
345 information about every definition and declaration that it encounters
346 in its scan of source files.
347 The information output includes the type of the definition or
348 declaration and any comment that preceeds the definition or
349 declaration.
350 The output is in a format that can be easily parsed, and is
351 intended to be read by another program that will generate
352 documentation about the program.
353 We'll talk more about this feature later.
@@ -399,11 +399,11 @@
399 any of the .h files you write since that will prevent makeheaders
400 from generating the .h file automatically.
401 </p>
402
403 <p>
404 The structure of a .c file intented for use with makeheaders is very
405 simple.
406 All you have to do is add a single &#8220;<code>#include</code>&#8221; to the
407 top of the file that sources the header file that makeheaders will generate.
408 Hence, the beginning of a source file named &#8220;<code>alpha.c</code>&#8221;
409 might look something like this:
@@ -591,13 +591,13 @@
591
592 <p>
593 In my experience, large projects work better if all of the manually
594 written code is placed in .c files and all .h files are generated
595 automatically.
596 This is slightly different for the traditional C method of placing
597 the interface in .h files and the implementation in .c files, but
598 it is a refreshing change that brings a noticable improvement to the
599 coding experience.
600 Others, I believe, share this view since I've
601 noticed recent languages (ex: java, tcl, perl, awk) tend to
602 support the one-file approach to coding as the only option.
603 </p>
@@ -619,11 +619,11 @@
619 #if INTERFACE
620 #endif
621 </pre>
622 Thus any structure definitions that appear after the
623 &#8220;<code>#if INTERFACE</code>&#8221; but before the corresponding
624 &#8220;<code>#endif</code>&#8221; are eligable to be copied into the
625 automatically generated
626 .h files of other .c files.
627 </p>
628
629 <p>
@@ -684,11 +684,11 @@
684 <p>
685 That isn't the complete truth, actually.
686 The semantics of C are such that once an object becomes visible
687 outside of a single source file, it is also visible to any user
688 of the library that is made from the source file.
689 Makeheaders can not prevent outsiders for using non-exported resources,
690 but it can discourage the practice by refusing to provide prototypes
691 and declarations for the services it does not want to export.
692 Thus the only real effect of the making an object exportable is
693 to include it in the output makeheaders generates when it is run
694 using the -H command line option.
@@ -868,11 +868,11 @@
868 </pre></blockquote>
869
870 <p>
871 The first form is preferred because only a single declaration of
872 the constructor is required. The second form requires two declarations,
873 one in the class definition and one on the defintion of the constructor.
874 </p>
875
876 <h4>3.6.1 C++ Limitations</h4>
877
878 <p>
@@ -1073,11 +1073,11 @@
1073 <li> The type of the object. (Structure, typedef, macro, etc.)
1074 <li> Flags to indicate if the declaration is exported (contained within
1075 an EXPORT_INTERFACE block) or local (contained with LOCAL_INTERFACE).
1076 <li> A flag to indicate if the object is declared in a C++ file.
1077 <li> The name of the file in which the object was declared.
1078 <li> The complete text of any block comment that preceeds the declarations.
1079 <li> If the declaration occurred inside a preprocessor conditional
1080 (&#8220;<code>#if</code>&#8221;) then the text of that conditional is
1081 provided.
1082 <li> The complete text of a declaration for the object.
1083 </ul>
1084
--- src/makeheaders.html
+++ src/makeheaders.html
@@ -343,11 +343,11 @@
343 headers at all.
344 Instead, makeheaders will write to standard output
345 information about every definition and declaration that it encounters
346 in its scan of source files.
347 The information output includes the type of the definition or
348 declaration and any comment that precedes the definition or
349 declaration.
350 The output is in a format that can be easily parsed, and is
351 intended to be read by another program that will generate
352 documentation about the program.
353 We'll talk more about this feature later.
@@ -399,11 +399,11 @@
399 any of the .h files you write since that will prevent makeheaders
400 from generating the .h file automatically.
401 </p>
402
403 <p>
404 The structure of a .c file intended for use with makeheaders is very
405 simple.
406 All you have to do is add a single &#8220;<code>#include</code>&#8221; to the
407 top of the file that sources the header file that makeheaders will generate.
408 Hence, the beginning of a source file named &#8220;<code>alpha.c</code>&#8221;
409 might look something like this:
@@ -591,13 +591,13 @@
591
592 <p>
593 In my experience, large projects work better if all of the manually
594 written code is placed in .c files and all .h files are generated
595 automatically.
596 This is slightly different from the traditional C method of placing
597 the interface in .h files and the implementation in .c files, but
598 it is a refreshing change that brings a noticeable improvement to the
599 coding experience.
600 Others, I believe, share this view since I've
601 noticed recent languages (ex: java, tcl, perl, awk) tend to
602 support the one-file approach to coding as the only option.
603 </p>
@@ -619,11 +619,11 @@
619 #if INTERFACE
620 #endif
621 </pre>
622 Thus any structure definitions that appear after the
623 &#8220;<code>#if INTERFACE</code>&#8221; but before the corresponding
624 &#8220;<code>#endif</code>&#8221; are eligible to be copied into the
625 automatically generated
626 .h files of other .c files.
627 </p>
628
629 <p>
@@ -684,11 +684,11 @@
684 <p>
685 That isn't the complete truth, actually.
686 The semantics of C are such that once an object becomes visible
687 outside of a single source file, it is also visible to any user
688 of the library that is made from the source file.
689 Makeheaders can not prevent outsiders from using non-exported resources,
690 but it can discourage the practice by refusing to provide prototypes
691 and declarations for the services it does not want to export.
692 Thus the only real effect of the making an object exportable is
693 to include it in the output makeheaders generates when it is run
694 using the -H command line option.
@@ -868,11 +868,11 @@
868 </pre></blockquote>
869
870 <p>
871 The first form is preferred because only a single declaration of
872 the constructor is required. The second form requires two declarations,
873 one in the class definition and one on the definition of the constructor.
874 </p>
875
876 <h4>3.6.1 C++ Limitations</h4>
877
878 <p>
@@ -1073,11 +1073,11 @@
1073 <li> The type of the object. (Structure, typedef, macro, etc.)
1074 <li> Flags to indicate if the declaration is exported (contained within
1075 an EXPORT_INTERFACE block) or local (contained with LOCAL_INTERFACE).
1076 <li> A flag to indicate if the object is declared in a C++ file.
1077 <li> The name of the file in which the object was declared.
1078 <li> The complete text of any block comment that precedes the declarations.
1079 <li> If the declaration occurred inside a preprocessor conditional
1080 (&#8220;<code>#if</code>&#8221;) then the text of that conditional is
1081 provided.
1082 <li> The complete text of a declaration for the object.
1083 </ul>
1084

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button