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

fix: Various fixes #166

Merged
merged 17 commits into from
Aug 20, 2021
Merged

fix: Various fixes #166

merged 17 commits into from
Aug 20, 2021

Conversation

michalbali256
Copy link
Contributor

fix: lexer generates the ATTR token only on data attributes that always consume the apostrophe
fix: fix format of STNSM and STOSM instructions
fix: CUUTF and CU21 have last parameter optional
fix: evaluation of T'&VAR(num), where VAR is type C-type var symbol array
fix: instruction format of LLI[LH][LH]
feat: limited CNOP instruction implementation

std::string input = R"(
DC CL1''

CNOPSYM CNOP 0,8
Copy link
Contributor

Choose a reason for hiding this comment

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

add a few more variants...
add also negative tests?

stringer());
} // namespace

TEST_P(parser_string_fixture, basic)
Copy link
Contributor

Choose a reason for hiding this comment

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

add also negative tests?

@@ -608,7 +608,7 @@ C_t hlasm_context::get_type_attr(var_sym_ptr var_symbol, const std::vector<size_
if (offset.empty())
value = setc_sym->get_value();
else
value = setc_sym->get_value(offset.front());
value = setc_sym->get_value(offset.front() - 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

add a unit test?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

96.9% 96.9% Coverage
0.0% 0.0% Duplication

@slavek-kucera slavek-kucera merged commit 200b769 into development Aug 20, 2021
@michalbali256 michalbali256 deleted the mb/fix-apostrophe-lexing branch October 25, 2021 12:24
@github-actions
Copy link

github-actions bot commented Nov 3, 2021

🎉 This PR is included in version 0.15.0-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Nov 8, 2021

🎉 This PR is included in version 0.15.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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