Skip to content

Instantly share code, notes, and snippets.

@sdutoit
Created October 13, 2013 17:24
Show Gist options
  • Save sdutoit/6964876 to your computer and use it in GitHub Desktop.
Save sdutoit/6964876 to your computer and use it in GitHub Desktop.
Diff for fixes in [diff] by Guilliam Xavier, part 2
diff --git a/source/compatibility.tex b/source/compatibility.tex
index 5746ca4..11253ff 100644
--- a/source/compatibility.tex
+++ b/source/compatibility.tex
@@ -162,7 +162,7 @@ Semantic transformation.
Seldom.
\ref{basic.start}
-\change Main cannot be called recursively and cannot have its address taken
+\change \tcode{main} cannot be called recursively and cannot have its address taken
\rationale
The main function may require special actions.
\effect
@@ -254,7 +254,7 @@ For example,
\begin{codeblock}
p = (void*)(struct x {int i;} *)0;
\end{codeblock}
-declares a new type, struct x .
+declares a new type, struct x.
\rationale
This prohibition helps to clarify the location of
declarations in the source code.
@@ -403,7 +403,7 @@ One of the 2 types has to be renamed.
Seldom.
\ref{dcl.type} [see also \ref{basic.link}]
-\change const objects must be initialized in \Cpp but can be left uninitialized in C
+\change \tcode{const} objects must be initialized in \Cpp but can be left uninitialized in C
\rationale
A const object cannot be assigned to so it must be initialized
to hold a useful value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment