mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
Mps design/cstyle: fix html: close tag, escape amp + lt.
Copied from Perforce Change: 162549 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
a040c2487e
commit
495b93f24e
1 changed files with 8 additions and 7 deletions
|
|
@ -90,6 +90,7 @@ <h3>White Space</h3>
|
|||
<p>
|
||||
.space.control.not: No space between the keywords <em>if</em>,
|
||||
<em>for</em>, <em>while</em> and the following paren.
|
||||
</p>
|
||||
|
||||
|
||||
<h3>Sections and Paragraphs</h3>
|
||||
|
|
@ -168,7 +169,7 @@ <h3>Indentation</h3>
|
|||
|
||||
<pre>
|
||||
if(res != ResOK) {
|
||||
SegFinish(&span->segStruct);
|
||||
SegFinish(&span->segStruct);
|
||||
PoolFreeP(MV->spanPool, span, sizeof(SpanStruct));
|
||||
return res;
|
||||
}
|
||||
|
|
@ -201,7 +202,7 @@ <h3>Indentation</h3>
|
|||
} else if(j+step == block->limit) {
|
||||
putc(']', stream);
|
||||
pop_bracket();
|
||||
} else if(j > block->base && j < block->limit)
|
||||
} else if(j > block->base && j < block->limit)
|
||||
putc('=', stream);
|
||||
} else {
|
||||
putc('.', stream);
|
||||
|
|
@ -253,7 +254,7 @@ <h3>Indentation</h3>
|
|||
</p>
|
||||
|
||||
<pre>
|
||||
PoolClassInit(&PoolClassMVStruct,
|
||||
PoolClassInit(&PoolClassMVStruct,
|
||||
"MV", init, finish, allocP, freeP,
|
||||
NULL, NULL, describe, isValid);
|
||||
</pre>
|
||||
|
|
@ -266,17 +267,17 @@ <h3>Indentation</h3>
|
|||
<pre>
|
||||
CHECKL(AddrAdd((Addr)chunk->pageTableMapped,
|
||||
BTSize(chunk->pageTablePages))
|
||||
<= AddrAdd(chunk->base, chunk->ullageSize));
|
||||
<= AddrAdd(chunk->base, chunk->ullageSize));
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
This is particularly useful in long conditional expressions that use &&
|
||||
This is particularly useful in long conditional expressions that use &&
|
||||
and ||. For example:
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
} while(trace->state != TraceFINISHED
|
||||
&& (trace->emergency || traceWorkClock(trace) < pollEnd));
|
||||
&& (trace->emergency || traceWorkClock(trace) < pollEnd));
|
||||
</pre>
|
||||
|
||||
|
||||
|
|
@ -324,7 +325,7 @@ <h3>Positioning of Braces</h3>
|
|||
</p>
|
||||
|
||||
<pre>
|
||||
while(node != DequeSentinel(&pool->segDeque))
|
||||
while(node != DequeSentinel(&pool->segDeque))
|
||||
{
|
||||
DequeNode next = DequeNodeNext(node);
|
||||
Seg seg = DequeNodeElement(Seg, poolDeque, node);
|
||||
|
|
|
|||
Loading…
Reference in a new issue