Skip to content

Commit

Permalink
set language version (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Sep 13, 2021
1 parent e4c512e commit 1fbfe1f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
4 changes: 2 additions & 2 deletions abaplint.jsonc
Expand Up @@ -6,7 +6,7 @@
"skipGeneratedFunctionGroups": true
},
"syntax": {
"version": "v702",
"version": "open-abap",
"errorNamespace": "."
},
"rules": {
Expand All @@ -28,7 +28,7 @@
"space_before_colon": true,
"space_before_dot": true,
"unreachable_code": true,
"use_line_exists": true,
"use_line_exists": false,
"inline_data_old_versions": false,
"intf_referencing_clas": false,
"keep_single_parameter_on_one_line": true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -12,8 +12,8 @@
"author": "",
"license": "MIT",
"dependencies": {
"@abaplint/cli": "^2.78.10",
"@abaplint/runtime": "^1.6.26",
"@abaplint/transpiler-cli": "^1.6.26"
"@abaplint/cli": "^2.78.13",
"@abaplint/runtime": "^1.6.28",
"@abaplint/transpiler-cli": "^1.6.28"
}
}
16 changes: 16 additions & 0 deletions src/kernel/kernel_push_channels.clas.abap
@@ -0,0 +1,16 @@
CLASS kernel_push_channels DEFINITION PUBLIC.
* handling of ABAP statement WAIT FOR PUSH CHANNELS
PUBLIC SECTION.
CLASS-METHODS wait.
PRIVATE SECTION.
ENDCLASS.

CLASS kernel_push_channels IMPLEMENTATION.

METHOD wait.

RETURN.

ENDMETHOD.

ENDCLASS.
7 changes: 4 additions & 3 deletions src/tcp/cl_apc_tcp_client_manager.clas.testclasses.abap
@@ -1,6 +1,7 @@
CLASS lcl_handler DEFINITION FINAL .
PUBLIC SECTION.
INTERFACES if_apc_wsp_event_handler.
DATA message TYPE xstring.
ENDCLASS.

CLASS lcl_handler IMPLEMENTATION.
Expand Down Expand Up @@ -49,9 +50,9 @@ CLASS ltcl_tcp IMPLEMENTATION.
li_message->set_binary( '112233' ).
li_message_manager->send( li_message ).

" WAIT FOR PUSH CHANNELS
" UNTIL lo_handler->message IS NOT INITIAL
" UP TO 10 SECONDS.
WAIT FOR PUSH CHANNELS
UNTIL lo_handler->message IS NOT INITIAL
UP TO 10 SECONDS.

ENDMETHOD.

Expand Down

0 comments on commit 1fbfe1f

Please sign in to comment.