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

" \r " inside macro was recognize as newline #4

Open
shanliwa1 opened this issue Dec 27, 2024 · 2 comments
Open

" \r " inside macro was recognize as newline #4

shanliwa1 opened this issue Dec 27, 2024 · 2 comments

Comments

@shanliwa1
Copy link

shanliwa1 commented Dec 27, 2024

Hello,

There is a small bug inside ".macro CRITICAL_SECTION_LR_SC " defination:

For example:

li eturn_val_reg, 0 # Set return to success.

li eturn_val_reg, 0 # Set return to success.
should be :
li \return_val_reg, 0 # Set return to success.

@mbrothersTT
Copy link
Contributor

mbrothersTT commented Dec 30, 2024

Thanks for reaching out.
Just curious, is this failing in compilation or just in the way that this file is being displayed?

Edit: Looks like the code generation file on our side was inconsistent with the handling of potential escape sequences.
The fix will be propagated here.

@shanliwa1
Copy link
Author

Hi,
This doesn't influence compilation, but git will treat this as a code modification when make other changes in the file.

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

No branches or pull requests

2 participants