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: Fix HLASM Listing highlighting on lines with trimmed whitespace #199

Merged
merged 6 commits into from
Nov 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions clients/vscode-hlasmplugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
- Infinite loop during lookahead processing when model statement is located in copybook
- DOT operator in string concatenation is optional
- AINSERT operand length validation
- HLASM Listing highligting of lines with trimmed whitespace
- Macro tracer: step over sometimes stops inside a macro or a copy file

## [0.14.0](https://github.com/eclipse/che-che4z-lsp-for-hlasm/compare/0.13.0...0.14.0) (2021-08-18)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"repository": {
"listing_syntax":{
"match": "^(.{7})(.{9})(.{22})(\\d\\d|.\\d|.[+]|.{2})(.{71,72}).*$",
"match": "^(.{7})(.{9})(.{22})(\\d\\d|.\\d|.[+]|.{2})(.{1,72})",
"captures":
{

Expand All @@ -35,23 +35,23 @@
}
},
"listing_syntax_long":{
"match": "^(.{9})(.{9})(.{29})(\\d\\d|.\\d|.[+]|.{2})(.{71,72}).*$",
"match": "^(.{9})(.{9})(.{29})(\\d\\d|.\\d|.[+]|.{2})(.{1,72})",
"captures":
{
"2":{"patterns": [ {"include": "#param_syntax"}]},
"5":{"patterns" :[ {"include": "#hlasm_syntax"}]}
}
},
"listing_syntax_endevor":{
"match": "^(.{8})(.{9})(.{22})(\\d\\d|.\\d|.[+]|.{2})(.{71,72}).*$",
"match": "^(.{8})(.{9})(.{22})(\\d\\d|.\\d|.[+]|.{2})(.{1,72})",
"captures":
{
"2":{"patterns": [ {"include": "#param_syntax"}]},
"5":{"patterns" :[ {"include": "#hlasm_syntax"}]}
}
},
"listing_syntax_endevor_long":{
"match": "^(.{10})(.{9})(.{29})(\\d\\d|.\\d|.[+]|.{2})(.{71,72}).*$",
"match": "^(.{10})(.{9})(.{29})(\\d\\d|.\\d|.[+]|.{2})(.{1,72})",
"captures":
{
"2":{"patterns": [ {"include": "#param_syntax"}]},
Expand Down
2 changes: 1 addition & 1 deletion parser_library/src/debugging/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ class debugger::impl final : public processing::statement_analyzer
stop_on_next_stmt_ = false;
step_over_ = false;
next_stmt_range_ = stmt_range;
step_over_depth_ = ctx_->processing_stack().size();

continue_ = false;
if (event_)
Expand All @@ -221,7 +222,6 @@ class debugger::impl final : public processing::statement_analyzer
{
std::lock_guard<std::mutex> lck(control_mtx);
step_over_ = true;
step_over_depth_ = ctx_->processing_stack().size();
continue_ = true;
}
con_var.notify_all();
Expand Down