Skip to content

Commit 07f4092

Browse files
authored
masm/bnf-grammar: Format some literal characters correctly (MicrosoftDocs#4456)
A couple of character literal terminals don't follow consistent formatting. Fix that.
1 parent 81c91bc commit 07f4092

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses *`qu
2222
  *`endOfLine`* | *`comment`*
2323

2424
*`=Dir`*\
25-
  *`id`* = *`immExpr`* *`;;`*
25+
  *`id`* **`=`** *`immExpr`* *`;;`*
2626

2727
*`addOp`*\
2828
  **`+`** | **`-`**
@@ -492,7 +492,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses *`qu
492492
  *`immExpr`*\
493493
  | *`string`*\
494494
  | **`?`**\
495-
  | *`constExpr`* **`DUP`** ( *`scalarInstList`* )\
495+
  | *`constExpr`* **`DUP`** **`(`** *`scalarInstList`* **`)`**\
496496
  | *`floatNumber`*\
497497
  | *`bcdConst`*
498498

@@ -591,7 +591,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses *`qu
591591

592592
*`macroCall`*\
593593
  *`id`* *`macroArgList`* *`;;`*\
594-
  | *`id`* ( *`macroArgList`* )
594+
  | *`id`* **`(`** *`macroArgList`* **`)`**
595595

596596
*`macroDir`*\
597597
  *`id`* **`MACRO`***`macroParmList`**`;;`*\
@@ -716,7 +716,7 @@ The BNF grammar allows recursive definitions. For example, the grammar uses *`qu
716716
  | **`OLDMACROS`** | **`NOOLDMACROS`**\
717717
  | **`OLDSTRUCTS`** | **`NOOLDSTRUCTS`**\
718718
  | **`PROC`** **`:`** *`oVisibility`*\
719-
  | **`PROLOGUE`** : *`macroId`*\
719+
  | **`PROLOGUE`** **`:`** *`macroId`*\
720720
  | **`READONLY`** | **`NOREADONLY`**\
721721
  | **`SCOPED`** | **`NOSCOPED`**\
722722
  | **`SEGMENT`** **`:`** *`segSize`*\

0 commit comments

Comments
 (0)