Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some problems with parsing as github-flavored markdown #17

Merged
merged 5 commits into from
May 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/i.10.3.2-binary-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Binary operators take two operands, perform some operation on them, and return a
`op_Modulus` | `%`
`op_ExclusiveOr` | `^`
`op_BitwiseAnd` | `&` (binary)
`op_BitwiseOr` | `|`
`op_BitwiseOr` | `\|`
`op_LogicalAnd` | `&&`
`op_LogicalOr` | `||`
`op_LogicalOr` | `\|\|`
`op_Assign` | Not defined (`=` is not the same)
`op_LeftShift` | `<<`
`op_RightShift` | `>>`
Expand All @@ -38,6 +38,6 @@ Binary operators take two operands, perform some operation on them, and return a
`op_ModulusAssignment` | `%=`
`op_AdditionAssignment` | `+=`
`op_BitwiseAndAssignment` | `&=`
`op_BitwiseOrAssignment` | `|=`
`op_BitwiseOrAssignment` | `\|=`
`op_Comma` | `,`
`op_DivisionAssignment` | `/=`
`op_DivisionAssignment` | `/=`
2 changes: 1 addition & 1 deletion docs/ii.15.4.1-method-body.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The method body shall contain the instructions of a program. However, it can als
| \| `.maxstack` _Int32_ | The `int32` specifies the maximum number of elements on the evaluation stack during the execution of the method. | §[II.15.4.1](ii.15.4.1-method-body.md)
| \| `.override` _TypeSpec_ `'::'` _MethodName_ | Use current method as the implementation for the method specified. | §[II.10.3.2](ii.10.3.2-the-override-directive.md)
| \| `.override method` _CallConv_ _Type_ _TypeSpec_ `'::'` _MethodName_ _GenArity_ `'('` _Parameters_ `')'` | Use current method as the implementation for the method specified. | §[II.10.3.2](ii.10.3.2-the-override-directive.md)
| \| `.param` ``['` _Int32_ `']'` [ `'='` _FieldInit_ ] | Store a constant _FieldInit_ value for parameter _Int32_ | §[II.15.4.1.4](ii.15.4.1.4-the-param-directive.md)
| \| `.param` `'['` _Int32_ `']'` [ `'='` _FieldInit_ ] | Store a constant _FieldInit_ value for parameter _Int32_ | §[II.15.4.1.4](ii.15.4.1.4-the-param-directive.md)
| \| `.param type` `'['` _Int32_ `']'` | Specifies a type parameter for a generic method | §[II.15.4.1.5](ii.15.4.1.5-the-param-type_directive.md)
| \| _ExternSourceDecl_ | `.line` or `#line` | §[II.5.7](ii.5.7-source-line-information.md)
| \| _Instr_ | An instruction | [Partition VI](#todo-missing-hyperlink)
Expand Down
8 changes: 4 additions & 4 deletions docs/iii.1.2.1-opcode-encodings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The currently defined encodings are specified in [Table 1: Opcode Encodings](#to
Opcode | Instruction
---- | ----
0x00 | `nop`
0x01 | `break `
0x01 | `break`
0x02 | `ldarg.0`
0x03 | `ldarg.1`
0x04 | `ldarg.2`
Expand Down Expand Up @@ -74,7 +74,7 @@ The currently defined encodings are specified in [Table 1: Opcode Encodings](#to
0x40 | `bne.un`
0x41 | `bge.un`
0x42 | `bgt.un`
0x43 | `ble.un `
0x43 | `ble.un`
0x44 | `blt.un`
0x45 | `switch`
0x46 | `ldind.i1`
Expand All @@ -83,7 +83,7 @@ The currently defined encodings are specified in [Table 1: Opcode Encodings](#to
0x49 | `ldind.u2`
0x4A | `ldind.i4`
0x4B | `ldind.u4`
0x4C | `ldind.i8 `
0x4C | `ldind.i8`
0x4D | `ldind.i`
0x4E | `ldind.r4`
0x4F | `ldind.r8`
Expand Down Expand Up @@ -120,7 +120,7 @@ The currently defined encodings are specified in [Table 1: Opcode Encodings](#to
0x6E | `conv.u8`
0x6F | `callvirt`
0x70 | `cpobj`
0x71 | `ldobj `
0x71 | `ldobj`
0x72 | `ldstr`
0x73 | `newobj`
0x74 | `castclass`
Expand Down
2 changes: 1 addition & 1 deletion docs/iii.1.5-operand-type-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Many CIL operations take numeric operands on the stack. These operations fall in

#### Table III.5: Integer Operations

&nbsp; | `int32` | `int64` | `native int` | `F` `&` `O`
&nbsp; | `int32` | `int64` | `native int` | `F` | `&` | `O`
---- | ---- | ---- | ---- | ---- | ---- | ----
**`int32`** | `int32` | &cross; | `native int` | &cross; | &cross; | &cross;
**`int64`** | &cross; | `int64` | &cross; | &cross; | &cross; | &cross;
Expand Down