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

Removing lexer validation for special chars #2310

Closed
wants to merge 1 commit into from

Conversation

anderson-joyle
Copy link
Contributor

@LucGenetier
Copy link
Contributor

✅ No public API change.

@akshar2401
Copy link
Member

UFB (new formula bar) has a logical dependency on the Lexer for its default syntax hightlighting capabilities and like Lexer (before this pr), UFB disallowed format category. After this pr goes in, UFB would no longer have parity with the Lexer. How frequent are the cases where identifiers contain these format category chars?

@@ -1567,7 +1567,7 @@ private Token LexStringLit()
_sb.Append(ch);
NextChar();
}
else if (!CharacterUtils.IsFormatCh(ch))
else
Copy link
Contributor

Choose a reason for hiding this comment

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

To migitate breaks, can we limit this to under v1 flag.

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.

None yet

4 participants