8000 Bug fixes (the `simplify` branch) by DmitrySharabin · Pull Request #3943 · PrismJS/prism · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bug fixes (the simplify branch) #3943

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 7 commits into from
May 28, 2025
Merged

Bug fixes (the simplify branch) #3943

merged 7 commits into from
May 28, 2025

Conversation

DmitrySharabin
Copy link
Contributor
@DmitrySharabin DmitrySharabin commented May 26, 2025

Summary

  • Fix the C, C#, F#, Markdown, PHP, and VB.NET language definitions
  • Fix the issue with deeply nested properties in extend()

Copy link
github-actions bot commented May 26, 2025

No JS Changes

Generated by 🚫 dangerJS against b15d510

@@ -1,55 +1,44 @@
import csharp from './csharp';
import markup from './markup';
import type { Grammar, GrammarOptions, LanguageProto } from '../types';
import type { Grammar, GrammarToken, LanguageProto } from '../types';
Copy link
Contributor Author
@DmitrySharabin DmitrySharabin May 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By bad. I transformed this language incorrectly before.

},
$rest: 'csharp',
grammar ({ base }): Grammar {
const pageDirectiveInside: Grammar = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we rename this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, something is wrong with the changes I propose. I took the language definition from the v2 branch, not the simplify branch. Let me remove it from the PR for now. We'll return to it later.

Copy link
Member
@LeaVerou LeaVerou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See question but otherwise LGTM

@DmitrySharabin
Copy link
Contributor Author

See question but otherwise LGTM

If you are referring to the ASP.NET language and why we renamed the variable, I removed this language from this PR to update it correctly later.

@DmitrySharabin DmitrySharabin merged commit ccbc10b into simplify May 28, 2025
2 checks passed
@DmitrySharabin DmitrySharabin deleted the bug-fixes branch May 28, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0