Skip to content

Automated Section renumber and grammar extraction #1296

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

Merged
merged 1 commit into from
Apr 9, 2025
Merged
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
7 changes: 1 addition & 6 deletions standard/grammar.md
Original file line number Diff line number Diff line change
@@ -570,7 +570,7 @@
type_name
: namespace_or_type_name
;

namespace_or_type_name
: identifier type_argument_list?
| namespace_or_type_name '.' identifier type_argument_list?
@@ -1004,8 +1004,8 @@
: primary_expression '(' argument_list? ')'
;

// Source: §12.8.11 Null Conditional Invocation Expression

Check warning on line 1007 in standard/grammar.md

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1007

MDC032::Line length 84 > maximum 81
null_conditional_invocation_expression

Check warning on line 1008 in standard/grammar.md

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1008

MDC032::Line length 85 > maximum 81
: null_conditional_member_access null_forgiving_operator? '(' argument_list? ')'
| null_conditional_element_access null_forgiving_operator? '(' argument_list? ')'
;
@@ -1181,7 +1181,7 @@
;

// Source: §12.8.22 Stack allocation
stackalloc_expression

Check warning on line 1184 in standard/grammar.md

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1184

MDC032::Line length 86 > maximum 81
: 'stackalloc' unmanaged_type '[' expression ']'
| 'stackalloc' unmanaged_type? '[' constant_expression? ']' stackalloc_initializer
;
@@ -1961,15 +1961,10 @@
;

// Source: §15.2.5 Type parameter constraints
type_parameter_constraints_clauses
: type_parameter_constraints_clause
| type_parameter_constraints_clauses type_parameter_constraints_clause
;

type_parameter_constraints_clause
: 'where' type_parameter ':' type_parameter_constraints
;

Check warning on line 1967 in standard/grammar.md

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1967

MDC032::Line length 83 > maximum 81
type_parameter_constraints
: primary_constraint (',' secondary_constraints)? (',' constructor_constraint)?
| secondary_constraints (',' constructor_constraint)?
@@ -2332,7 +2327,7 @@
logical_negation_operator
: '!'
;

Check warning on line 2330 in standard/grammar.md

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L2330

MDC032::Line length 82 > maximum 81
overloadable_unary_operator
: '+' | '-' | logical_negation_operator | '~' | '++' | '--' | 'true' | 'false'
;
Loading