Skip to content

Commit 6bde5c5

Browse files
author
Colin Robertson
committed
Fixes for table format
1 parent fbde6f6 commit 6bde5c5

8 files changed

+88
-89
lines changed

docs/atl/understanding-parse-trees.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ You can define one or more parse trees in your registrar script, where each pars
1212
1313
where:
1414

15-
> \<root key> ::= HKEY_CLASSES_ROOT | HKEY_CURRENT_USER |\
16-
> &nbsp;&nbsp;&nbsp;&nbsp;HKEY_LOCAL_MACHINE | HKEY_USERS |\
17-
> &nbsp;&nbsp;&nbsp;&nbsp;HKEY_PERFORMANCE_DATA | HKEY_DYN_DATA |\
18-
> &nbsp;&nbsp;&nbsp;&nbsp;HKEY_CURRENT_CONFIG | HKCR | HKCU |\
19-
> &nbsp;&nbsp;&nbsp;&nbsp;HKLM | HKU | HKPD | HKDD | HKCC
15+
> \<root key> ::= HKEY_CLASSES_ROOT \| HKEY_CURRENT_USER \|\
16+
> &emsp;HKEY_LOCAL_MACHINE \| HKEY_USERS \|\
17+
> &emsp;HKEY_PERFORMANCE_DATA \| HKEY_DYN_DATA \|\
18+
> &emsp;HKEY_CURRENT_CONFIG \| HKCR \| HKCU \|\
19+
> &emsp;HKLM \| HKU \| HKPD \| HKDD \| HKCC
2020
21-
> \<registry expression> ::= \<Add Key> | \<Delete Key>
21+
> \<registry expression> ::= \<Add Key> \| \<Delete Key>
2222
23-
> \<Add Key> ::= [**ForceRemove** | **NoRemove** | **val**]\<Key Name> [\<Key Value>][{\<Add Key>}]
23+
> \<Add Key> ::= \[**ForceRemove** \| **NoRemove** \| **val**]\<Key Name> [\<Key Value>][{\<Add Key>}]
2424
2525
> \<Delete Key> ::= **Delete**\<Key Name>
2626
@@ -30,7 +30,7 @@ where:
3030
3131
> \<Key Value> ::= \<Key Type>\<Key Name>
3232
33-
> \<Key Type> ::= **s** | **d**
33+
> \<Key Type> ::= **s** \| **d**
3434
3535
> \<Key Value> ::= **'**\<AlphaNumeric>**'**
3636

docs/build/reference/d-preprocessor-definitions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Defines a preprocessing symbol for a source file.
1111

1212
## Syntax
1313

14-
> **/D**\[ ]_name_[`=` | `#` [{ *string* | *number* }] ]\
15-
> **/D**\[ ]`"`_name_[`=` | `#` [{ *string* | *number* }] ]`"`
14+
> **/D**\[ ]_name_\[`=` \| `#` \[{ *string* \| *number* }] ]\
15+
> **/D**\[ ]`"`_name_\[`=` \| `#` \[{ *string* \| *number* }] ]`"`
1616
1717
## Remarks
1818

docs/build/reference/genprofile-fastgenprofile-generate-profiling-instrumented-build.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Specifies generation of a .pgd file by the linker to support profile-guided opti
1111

1212
## Syntax
1313

14-
> **/GENPROFILE**[**:**{[**COUNTER32**|**COUNTER64**]|[**EXACT**|**NOEXACT**]|**MEMMAX=**_#_|**MEMMIN=**_#_|[**PATH**|**NOPATH** ]|[**TRACKEH** |**NOTRACKEH** ]|**PGD=**_filename_}]\
15-
> **/FASTGENPROFILE**[**:**{[**COUNTER32**|**COUNTER64**]|[**EXACT**|**NOEXACT**]|**MEMMAX=**_#_|**MEMMIN=**_#_|[**PATH**|**NOPATH** ]|[**TRACKEH** |**NOTRACKEH** ]|**PGD=**_filename_}]
14+
> **/GENPROFILE**\[**:**{\[**COUNTER32**\|**COUNTER64**]\|\[**EXACT**\|**NOEXACT**]\|**MEMMAX=**_#_\|**MEMMIN=**_#_\|\[**PATH**\|**NOPATH**]\|\[**TRACKEH** \|**NOTRACKEH** ]\|**PGD=**_filename_}]\
15+
> **/FASTGENPROFILE**\[**:**{\[**COUNTER32**\|**COUNTER64**]\|\[**EXACT**\|**NOEXACT**]\|**MEMMAX=**_#_\|**MEMMIN=**_#_\|[**PATH**\|**NOPATH** ]\|\[**TRACKEH** \|**NOTRACKEH** ]\|**PGD=**_filename_}]
1616
1717
### Arguments
1818

docs/build/reference/opt-optimizations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Controls the optimizations that LINK performs during a build.
1111

1212
## Syntax
1313

14-
> **/OPT:**{**REF** | **NOREF**}\
15-
> **/OPT:**{**ICF**[**=**_iterations_] | **NOICF**}\
16-
> **/OPT:**{**LBR** | **NOLBR**}
14+
> **/OPT:**{**REF** \| **NOREF**}\
15+
> **/OPT:**{**ICF**\[**=**_iterations_] \| **NOICF**}\
16+
> **/OPT:**{**LBR** \| **NOLBR**}
1717
1818
## Arguments
1919

docs/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following table lists the CRT functions that are unavailable when you build
1212

1313
## Unsupported CRT Functions
1414

15-
|Function|Description|Workaround|
15+
| Function | Description | Workaround |
1616
|-|-|-|
1717
|`_beep` `_sleep` `_seterrormode`|These functions were obsolete in previous versions of the CRT. Also, the corresponding Win32 APIs are not available for UWP apps.|No workaround.|
1818
|`chdir` `_chdrive` `getcwd`|These functions are obsolete or are not thread-safe.|Use `_chdir`, `_getcwd` and related functions.|
@@ -32,7 +32,7 @@ The following table lists the CRT functions that are unavailable when you build
3232

3333
The following functions are available in the CRT for UWP apps. However, use them only when you can't use the corresponding Win32 or Windows Runtime APIs, such as when you're porting large code bases:
3434

35-
|Functions|Workaround|
35+
| Functions | Workaround |
3636
|-|-|
3737
|Single-byte string functions—for example, `strcat`, `strcpy`, `strlwr`, and so on.|Make your UWP apps strictly Unicode because all Win32 APIs and Windows Runtime APIs that are exposed use Unicode character sets only. Single-byte functions were left for porting large code bases, but should otherwise be avoided. The corresponding wide char functions should be used instead when possible.|
3838
|Stream IO and low-level file IO functions—for example, `fopen`, `open`, and so on.|These functions are synchronous, which isn't recommended for UWP apps. In your UWP apps, use asynchronous APIs to open, read from, and write to files to prevent locking of the UI thread. Examples of such APIs are the ones in the `Windows::Storage::FileIO` class.|
@@ -41,7 +41,7 @@ The following functions are available in the CRT for UWP apps. However, use them
4141

4242
Both the previously mentioned APIs and the following APIs are unavailable in Windows 8.x Store apps and Windows Phone 8.x apps.
4343

44-
|Functions|Description|Workaround|
44+
| Functions | Description | Workaround |
4545
|-|-|-|
4646
|`_beginthread` `_beginthreadex` `_endthread` `_endthreadex`|Threading Win32 APIs are not available in Windows 8.x Store apps.|Use the `Windows Runtime Windows::System::Threading::ThreadPool` or `concurrency::task` instead.|
4747
|`_chdir` `_wchdir` `_getcwd` `_getdcwd` `_wgetcwd` `_wgetdcwd`|The concept of a working directory doesn't apply to Windows 8.x Store apps.|Use full paths instead.|

0 commit comments

Comments
 (0)