Commit Graph

83 Commits

Author SHA1 Message Date
Ineiev 0c3db70f1f c.texi (Compilation): Remove a spurious ','. 2025-05-05 11:15:52 +00:00
Ineiev 91873bac90 c.texi (Function Declaration): Remove a left-over 'an' in 'an creating'. 2025-05-05 11:15:52 +00:00
Ineiev 35ce19e318 c.texi (Cast to Union): Fix a typo, 'varuable'. 2025-05-05 11:15:52 +00:00
Ineiev 0637033739 * c.texi (Aliasing Type Rules): Add a request for clarification in a comment. 2025-05-05 11:15:52 +00:00
Ineiev a360f6ae94 * c.texi (Aliasing Type Rules): Fix a typo s/j/a/. 2025-05-05 11:15:52 +00:00
Ineiev 1ac804c718 * c.texi (Static Assertions): Add a note on invalid vs wrong. 2025-05-05 11:15:52 +00:00
Ineiev d48e338f99 * c.texi (Pragma Basics): Fix pragma names. 2025-05-05 11:15:52 +00:00
Ineiev d839e959cb * c.texi (Maximum and Minimum Values): Add @findex INT_MIN. 2025-05-05 11:15:52 +00:00
Ineiev af51624fd0 * c.texi (Integer Representations): s/limits/limit/ in 'sizes ... necessarily limits.' 2025-05-05 11:15:52 +00:00
Ineiev a630a59760 * c.texi (Variable-Length Array Parameters): Replace camel-cased variable with GNU style. 2025-05-05 11:15:52 +00:00
Ineiev 0d70e2cf5f * c.texi: Capitalize 'l' in 'Command-Line' in titles. 2025-05-05 11:15:52 +00:00
Ineiev ad8a70ed75 * c.texi (Arrays as Parameters): Fix a typo, missing 's.' 2025-05-05 11:15:52 +00:00
Ineiev c677be889b * c.texi (Allocating File-Scope): Fix -fcommon description.
The default depends on GCC's release and target; no
--warn-common is supported.
2025-05-05 11:15:52 +00:00
Ineiev 6513ea4238 New copyright year. 2025-05-05 11:15:52 +00:00
Ineiev e3cdbccce6 * c.texi (for-Index Declarations): Fix a typo 'a explanation.' 2025-05-05 11:15:52 +00:00
Ineiev 49ee4eb3f4 * c.texi (break Statement): Fix a typo (missing '*'). 2025-05-05 11:15:52 +00:00
Ineiev 55f2c0ba27 * c.texi (do-while Statement): Warn about do-while vs while confusion. 2025-05-05 11:15:52 +00:00
Ineiev 42e27e86f3 * c.texi (if Statement): Fix inconsistent naming. 2025-05-05 11:15:52 +00:00
Ineiev 3462bb922a * c.texi (Structure Layout): Add structure alignment to index. 2025-05-05 11:15:52 +00:00
Ineiev 1a9338ee1a * c.texi (Intertwined Incomplete Types): Drop spurious 'Thus,' 2025-05-05 11:15:52 +00:00
Ineiev 5b7ccd80e2 *c.texi (Character Constants): Fix a typo, 'namss'. 2025-05-05 11:15:41 +00:00
Ineiev 212029ee3d * c.texi (Signed and Unsigned Types): Fix a typo, 'vslue'. 2025-05-05 11:15:30 +00:00
Ineiev 763a563f01 * c.texi (Operators/Punctuation): Fix a reference s/String/Character/. 2025-05-05 10:12:32 +00:00
Ineiev f488964fc7 * c.texi (Top, Variables): Fix a typo (duplicate 'and'). 2025-05-05 10:12:32 +00:00
Richard Stallman 481b75bc5a Minor changes from Ineiev.
* c.texi: Fix typos.
(Lvalues): Change "non-function type" to "function typr".
(Incomplete Types): List all the limits on uses of pointers
to incomplete types.
2025-05-02 12:53:32 -04:00
Richard Stallman 5d1b5d753d (Cast to Union): Show definition of `union foo', `x' and `y'. 2025-04-06 10:39:52 -04:00
Richard Stallman 11723f5d07 Give correct link to the rest of the GCC documentation. 2025-03-09 15:04:53 -04:00
Richard Stallman 48a54d8126 Minor cleanups and typo fixing. 2025-03-09 15:04:09 -04:00
Richard Stallman 6296201310 c.texi: update FSF address. 2024-08-31 21:52:07 -04:00
Richard Stallman 21380ea8fa Fix typo in Texinfo command. 2024-08-01 08:06:35 -04:00
Richard Stallman 9ac6feb5de Fix typos.
(Array Params are Ptrs): Renamed from Array Parm Pointer.
2024-07-30 10:22:25 -04:00
Richard Stallman 3c9d0b5db8 (Unicode Character Codes): Minor clarification. 2024-02-01 21:54:24 -05:00
Richard Stallman 4019930bf7 * c.texi: (Unions, Structures): Unions are compond types too. 2024-02-01 21:53:00 -05:00
Richard Stallman 2de84577d4 Make singlequotes look correct in code font.
* c.texi: Specify @codequoteundirected on and @codequotebacktick on.
2024-02-01 21:47:12 -05:00
Richard Stallman 61fc722320 Various small fixes.
* c.texi (Lvalues): Dereferencing fn ptr is not an lvalue.
String constant is an lvalue.
Array constructor is an lvalue.
(Write Assignments Separately): Minor cleanup.
(Integer Variations): State minimum sizes of numeric types.
(Unicode Character Codes): Explain invalid universal character names.
(Structures): Define "compound type" and index it.
2024-01-30 20:29:54 -05:00
Richard Stallman db3b2f364c Minor fixes. 2024-01-17 10:47:59 -05:00
Richard Stallman 75be1bffe6 * c.texi: fix typos.
* fp.texi (Machine Epsilon, Rounding Control):
Don't have text on the same line as @ignore.
2024-01-12 17:03:09 -05:00
Richard Stallman 0bab1e598a c.texi: fix a few spurious or missing braces. 2024-01-11 14:09:15 -05:00
Richard Stallman c81ee21e0b * c.texi (Unicode Character Codes): Rewrite the initial explanation of
character codes and escape characters.  Define "code point".
Use fire and water in Chinese examples.
D800 - DFFF are not exactly invalid so say it is too obscure
to explain here.
(Wide String Constants): Types of wide strings are array types.
(Type Size): Explain about side effects in sizeof expr and
sizeof (type).
Rename the variable `array' to `arr'.
For size_t, don't say what kind of definition it has.
(Pointer Types): Write "pointer to an array of".
2024-01-08 21:45:54 -05:00
Richard Stallman ceff250ff0 * c.texi Many simple clarifiations and fixes.
(Top): Explain we assume programs run on a real computer.
	(Iterative Fibonacci): Add footnote about how a statement with
	no side effects can be useful in special situations.
	(Complete Explanation): Fix xref node target.
	(Identifiers): GNU C allows $.
	(Operators/Punctuation): Explain each of the other punctuation chars.
	Brief note re preprocessing operators.
	How to group operator chars.
	(Shift Operations): Explain binary constants here too.
	(Shift Hacks): Explain binary constants here too.
	Delete extra 0 at end of one binary constant.
	(Bitwise Operations): Explain binary constants here too.
	(Assignment Expressions): Recommend parens around conditional exp
	inside a conditional exp.
	(Lvalues): Add item for constructors.
	Explain a little about arrays that are not lvalues.
	(Modifying Assignment): Explain better about += and side-effects
	inside subexpressions of the lvalue.
	(Conditional Rules): Use parens when nesting conditional expressions.
	(Conditional Branches): Correct type conversion rules for for branches.
	(Binary Operator Grammar): Here and elsewhere, write "operations"
	instead of "operators".
	(Associativity and Ordering): State which operations are associative.
	Explain the add-four-function-calls example in detail.
	(Signed and Unsigned Types): Expain how char relates to signed char
	and unsigned char.
	(Complex Data Types): Mention j as imaginary suffix.
	(Integer Const Type): Add examples for integer suffix U.
	(Floating Constants): Clarify that suffixes don't make a number float.
	(Floating Constants): Hex float constant must have an exponent.
	(Character Constants): Explain the traditional names a little.
	Give ryles for octal character code.
	(Pointer Dereference): Add another example of a pointer to a variable.
2024-01-07 17:49:24 -05:00
Ineiev c65c03ca79
Release 0.0.
* configure.ac: Set release to 0.0.
* c.texi: Cite release number.
* version.texi (EDITION, VERSION): Use VERSION instead of EDITION;
set to 0.0-git.
* NEWS: Update.
2023-10-15 09:20:04 +00:00
Ineiev b2d26171aa Add Autotools system in parallel with Makefile.
* Makefile.am:
* version.texi:
* configure.ac: New files.
* c.texi: Include version.texi.
* Makefile: Add copyright and license notices,
gather common dependencies in $(SOURCES), use $< and $@ in rules.
* AUTHORS: Update.
2023-10-09 09:08:25 +00:00
Ineiev cba6e528d6 (Shift Hacks): Fix a typo. 2023-09-02 13:49:30 +00:00
Richard Stallman f458b9d812 (Shift Hacks): Show numbers also in binary. 2023-08-21 14:17:22 -04:00
Richard Stallman 26f5cf9300 c.texi: many small fixes and cleanups. 2023-07-27 14:39:56 -04:00
Ineiev 62efec290c Add a copy of the GPL, the Invariant Section 2023-05-23 03:58:35 +00:00
Ineiev d3579312ed (Title Page): Trevis Rothwell and Nelson Beebe assigned their work. 2023-05-21 16:46:37 +00:00
Richard Stallman 47e5a234a7 Add missing paren. 2022-10-12 04:11:42 -04:00
Richard Stallman a68e13c715 Add todo comment. 2022-10-12 04:11:06 -04:00
Richard Stallman 6010acc42a (Overlaying Structures): Fix the example to iniialize p. Clarify text. 2022-09-30 12:58:48 -04:00