Skip to content

gccrs: error when parsing only $ - #5000

Open
wesley-lewis wants to merge 1 commit into
Rust-GCC:masterfrom
wesley-lewis:fix-dollar-sign-error
Open

wesley-lewis wants to merge 1 commit into
Rust-GCC:masterfrom
wesley-lewis:fix-dollar-sign-error

Conversation

@wesley-lewis

Copy link
Copy Markdown
Contributor

Fixes #4937

gcc/rust/ChangeLog:
* parse/rust-parse-impl-macro.hxx (Parser::parse_macro_invocation_semi): Added error.

gcc/testsuite/ChangeLog:
* rust/compile/just_dollar.rs: New test.

Fixes Rust-GCC#4937

gcc/rust/ChangeLog:
	* parse/rust-parse-impl-macro.hxx
	(Parser<ManagedTokenSource>::parse_macro_invocation_semi): Added error.

gcc/testsuite/ChangeLog:
	* rust/compile/just_dollar.rs: New test.

Signed-off-by: Wesley Lewis <lewis.wes.23@gmail.com>

This branch has not been deployed

No deployments
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.

no error on just a $

1 participant