Skip to content

Commit 89af679

Browse files
committed
docs: add new -pm compiler option to OW documentation
1 parent b702ce2 commit 89af679

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

docs/doc/cg/cpoptlst.gml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,10 @@
642642
~b~b~b~b~b~b
643643
.br
644644
.*
645+
:hotlink refid='SWpm'.
646+
~b~b~b~b~b~b
647+
.br
648+
.*
645649
:CMT. .note pe
646650
:hotlink refid='SWp'.
647651
~b~b~b~b~b~b

docs/doc/cg/cpopts.gml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ set preprocessor output file name
304304
preprocessor ignores #line directives
305305
:optref refid='SWpil'.
306306
.do end
307+
.if &e'&$SWpm ne 0 .do begin
308+
.note pm
309+
list of current predefined macros and their values
310+
:optref refid='SWpm'.
311+
.do end
307312
.if &e'&$SWp ne 0 .do begin
308313
.note p{e,l,c,w=<num>}
309314
preprocess file
@@ -2354,6 +2359,11 @@ messages, __FILE__ and __LINE__ symbols, etc. The "pil" option causes the
23542359
preprocessor to ignore #line directives and refer to actual file names and
23552360
line numbers.
23562361
.do end
2362+
.if &e'&$SWpm ne 0 .do begin
2363+
:OPT refid='SWpm' name='pm'.
2364+
.ix 'options' 'pm'
2365+
It lists current predefined macros and their values.
2366+
.do end
23572367
.*
23582368
.if &e'&$SWp ne 0 .do begin
23592369
:OPT refid='SWp' name='p'.{e,l,c,w=<num>}

docs/doc/cg/cpoptsum.gml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,10 @@ control optimization
676676
preprocessor ignores #line directives
677677
:optref refid='SWpil'.
678678
.*
679+
.note pm
680+
list of current predefined macros and their values
681+
:optref refid='SWpm'.
682+
.*
679683
.note p{e,l,c,w=<num>}
680684
:CMT. .ix 'options' 'pe'
681685
:CMT. .ix 'options' 'pl'

0 commit comments

Comments
 (0)