You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2021/03/11 15:08:52 UTC

[plc4x] branch develop updated: plc4j: removed L from spec literal and added detection for long literals to java gernerator Part2 now with spec

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new cb61dd8  plc4j: removed L from spec literal and added detection for long literals to java gernerator Part2 now with spec
cb61dd8 is described below

commit cb61dd8a7e218261755680d7f92b0810b7774791
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Thu Mar 11 16:08:36 2021 +0100

    plc4j: removed L from spec literal and added detection for long literals to java gernerator Part2 now with spec
---
 protocols/ads/src/main/resources/protocols/ads/ads.mspec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/protocols/ads/src/main/resources/protocols/ads/ads.mspec b/protocols/ads/src/main/resources/protocols/ads/ads.mspec
index 8a2c9c5..c7e7124 100644
--- a/protocols/ads/src/main/resources/protocols/ads/ads.mspec
+++ b/protocols/ads/src/main/resources/protocols/ads/ads.mspec
@@ -337,7 +337,7 @@
 [discriminatedType 'AdsMultiRequestItem' [uint 32 'indexGroup']
     [typeSwitch 'indexGroup'
         // ReservedIndexGroups.ADSIGRP_MULTIPLE_READ
-        ['61568L' AdsMultiRequestItemRead
+        ['61568' AdsMultiRequestItemRead
             // 4 bytes	Index Group of the data which should be written.
             [simple uint 32 'itemIndexGroup']
             // 4 bytes	Index Offset of the data which should be written.
@@ -346,7 +346,7 @@
             [simple uint 32 'itemReadLength']
         ]
         // ReservedIndexGroups.ADSIGRP_MULTIPLE_WRITE
-        ['61569L' AdsMultiRequestItemWrite
+        ['61569' AdsMultiRequestItemWrite
             // 4 bytes	Index Group of the data which should be written.
             [simple uint 32 'itemIndexGroup']
             // 4 bytes	Index Offset of the data which should be written.
@@ -355,7 +355,7 @@
             [simple uint 32 'itemWriteLength']
         ]
         // ReservedIndexGroups.ADSIGRP_MULTIPLE_READ_WRITE
-        ['61570L' AdsMultiRequestItemReadWrite
+        ['61570' AdsMultiRequestItemReadWrite
             // 4 bytes	Index Group of the data which should be written.
             [simple uint 32 'itemIndexGroup']
             // 4 bytes	Index Offset of the data which should be written.