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

BuildGrammar v2.2.0 #1281

Merged
merged 1 commit into from
Mar 5, 2025
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
Binary file modified .github/workflows/dependencies/GrammarTestingEnv.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/GrammarTesting/Tests/Parsing/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ The second set, in `Demo`, exist to demonstrate the system and are run when `Set
or `DoParsingTests` are passed the `-d` option.

If `Demo` is not here it will be in the environment parallel which can be located using the
environment variable `BG_LIB_PARSINGTESTS`.
environment variable `BG_LIB_PARSINGTESTS`.

This file was deleted.

6 changes: 6 additions & 0 deletions tools/GrammarTesting/Tests/Parsing/Samples/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Parsing Samples

Sub-directories are used to group related (in some way) tests.

The “v*n*” folders typically contain samples testing features introduced
in *or before* that version of C# – though nothing is enforced.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
extern alias Foo;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using M = System.Math;

using ConsoleApplication2.Test;

/**/
/* the previous comment is an empty delimited comment and not a document comment */
/** this is a document comment */
// this one is a single line comment

using X = int1;
using Y = ABC.X<int>;

using static System.Math;
using static System.DayOfWeek;
using static System.Linq.Enumerable;

[assembly: System.Copyright(@"(C)""

2009")]
[module: System.Copyright("\n\t\u0123(C) \"2009" + "\u0123")]

class TopLevelType : IDisposable
{
void IDisposable.Dispose() { }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Sample: AllInOneNoPreprocessor-v6-*

This is a standard sample based off a test file originating with the Roslyn project.

The AllInOneNoPreprocessor-v6-* combined contain samples of most of the C# constructs up to C# v6.
Loading