Skip to content

Commit a6ceffe

Browse files
author
Colin Robertson
committed
Fix things in MASM BNF page
1 parent fc48224 commit a6ceffe

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

docs/assembler/masm/masm-bnf-grammar.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
9494
  *`aExpr`* | *`cExpr`* **`||`** *`aExpr`*
9595

9696
*`character`*\
97-
 Any character with ordinal in the range 0–255 except linefeed (10).
97+
  Any character with ordinal in the range 0–255 except linefeed (10).
9898

9999
*`charList`*\
100100
  *`character`* | *`charList`* *`character`*
@@ -111,7 +111,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
111111
  *`commList`* *`;;`*
112112

113113
*`comment`*\
114-
 ; *`text`* *`;;`*
114+
  **`;`** *`text`* *`;;`*
115115

116116
*`commentDir`*\
117117
  **`COMMENT`** *`delimiter`*\
@@ -202,7 +202,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
202202
  | *`decNumber`* *`decdigit`*
203203

204204
*`delimiter`*\
205-
 Any character except *`whiteSpaceCharacter`*
205+
  Any character except *`whiteSpaceCharacter`*
206206

207207
*`digits`*\
208208
  *`decdigit`*\
@@ -343,7 +343,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
343343
 *`expr`**`;;`*
344344

345345
*`exitmDir`*\
346-
 : **`EXITM`** | **`EXITM`** *`textItem`*
346+
  **`:`** **`EXITM`** | **`EXITM`** *`textItem`*
347347

348348
*`exponent`*\
349349
  **`E`***`sign`**`decNumber`*
@@ -447,7 +447,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
447447
  **`a`** | **`b`** | **`c`** | **`d`** | **`e`** | **`f`** | **`A`** | **`B`** | **`C`** | **`D`** | **`E`** | **`F`**
448448

449449
*`id`*\
450-
 The first character of the identifier can be an upper or lower-case alphabetic character (`[A–Za-z]`) or any of these four characters: `@ _ $ ?` The remaining characters can be any of those same characters or a decimal digit (`[0–9]`). Maximum length is 247 characters.
450+
  The first character of the identifier can be an upper or lower-case alphabetic character (`[A–Za-z]`) or any of these four characters: `@ _ $ ?` The remaining characters can be any of those same characters or a decimal digit (`[0–9]`). Maximum length is 247 characters.
451451

452452
*`idList`*\
453453
  *`id`* | *`idList`* **`,`** *`id`*
@@ -524,7 +524,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
524524
  *`invokeArg`* | *`invokeList`* **`,`***`;;`**`invokeArg`*
525525

526526
*`keyword`*\
527-
 Any reserved word.
527+
  Any reserved word.
528528

529529
*`keywordList`*\
530530
  *`keyword`* | *`keyword`* *`keywordList`*
@@ -648,7 +648,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
648648
  **`TINY`** | **`SMALL`** | **`MEDIUM`** | **`COMPACT`** | **`LARGE`** | **`HUGE`** | **`FLAT`**
649649

650650
*`mnemonic`*\
651-
 Instruction name.
651+
  Instruction name.
652652

653653
*`modelDir`*\
654654
  **`.MODEL`**\
@@ -873,12 +873,11 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
873873
  **`PUBLIC`** | **`STACK`** | **`COMMON`** | **`MEMORY`** | **`AT`** *`constExpr`* | **`PRIVATE`**
874874

875875
*`segDir`*\
876-
  **`.CODE`**\
877-
 *`segId`*\
876+
  **`.CODE`***`segId`*\
878877
  | **`.DATA`**\
879878
  | **`.DATA?`**\
880879
  | **`.CONST`**\
881-
  | **`.FARDATA`***`segId`*\
880+
  | **`.FARDATA`** *`segId`*\
882881
  | **`.FARDATA?`***`segId`*\
883882
  | **`.STACK`***`constExpr`*
884883

@@ -1064,7 +1063,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses qual
10641063
  **`.ENDW`**
10651064

10661065
*`whiteSpaceCharacter`*\
1067-
 ASCII 8, 9, 11–13, 26, 32
1066+
  ASCII 8, 9, 11–13, 26, 32
10681067

10691068
*`xmmRegister`*\
10701069
  **`XMM0`** | **`XMM1`** | **`XMM2`** | **`XMM3`** | **`XMM4`** | **`XMM5`** | **`XMM6`** | **`XMM7`** | **`XMM8`** | **`XMM9`** | **`XMM10`** | **`XMM11`** | **`XMM12`** | **`XMM13`** | **`XMM14`** | **`XMM15`**

docs/c-runtime-library/reference/strcpy-s-wcscpy-s-mbscpy-s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ f1_keywords: ["strcpy_s", "_mbscpy_s", "_mbscpy_s_l", "_tcscpy_s", "wcscpy_s"]
1010
helpviewer_keywords: ["strcpy_s function", "_tcscpy_s function", "_mbscpy_s function", "_mbscpy_s_l function", "copying strings", "strings [C++], copying", "tcscpy_s function", "wcscpy_s function"]
1111
ms.assetid: 611326f3-7929-4a5d-a465-a4683af3b053
1212
---
13-
# `strcpy_s`, `wcscpy_`s, `_mbscpy_s`, `_mbscpy_s_l`
13+
# `strcpy_s`, `wcscpy_s`, `_mbscpy_s`, `_mbscpy_s_l`
1414

1515
Copies a string. These versions of [`strcpy`, `wcscpy`, `_mbscpy`](strcpy-wcscpy-mbscpy.md) have security enhancements, as described in [Security Features in the CRT](../../c-runtime-library/security-features-in-the-crt.md).
1616

0 commit comments

Comments
 (0)