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

Handle nested elements correctly when with attributes is specified #176

Closed
wants to merge 1 commit into from

Conversation

ammaralmorsi
Copy link

fixes bug#961

Copy link
Collaborator

@GitMensch GitMensch left a comment

Choose a reason for hiding this comment

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

Testsuite adjustments needed, otherwise looks fine.

tests/ChangeLog Outdated Show resolved Hide resolved
tests/testsuite.src/run_ml.at Show resolved Hide resolved
@GitMensch

This comment was marked as outdated.

…s' Specification

cobc:
* tree.c (set_ml_attrs_and_children): Enhanced the function to handle the case where a child has attributes
* codegen.c (output_ml_suppress_checks): Modified the starting point to start from the last attribute if present
* codegen.c (get_prev_ml_tree_entry): Removed the fallback case to prevent infinite loops
@GitMensch
Copy link
Collaborator

rebased and squashed commits for upstreaming

@GitMensch
Copy link
Collaborator

which was done with [r5421], so closing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants