Merge commit '2d061a66ddc737f5dffae82413b4f8573b7eee54' into HEAD
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 15 Aug 2024 23:50:01 +0200
changeset 3963 38bebb9ee34e
parent 3962 ccf7461e8ff2 (diff)
parent 3960 9271afc4f34a (current diff)
child 3964 060ed03e3aec
child 3977 2b0f8c4c8d02
Merge commit '2d061a66ddc737f5dffae82413b4f8573b7eee54' into HEAD
--- a/.gitignore	Wed Jun 05 15:18:15 2024 +0200
+++ b/.gitignore	Thu Aug 15 23:50:01 2024 +0200
@@ -14,4 +14,6 @@
 doc/locale/**
 
 C_runtime/**/*.d
-C_runtime/**/*.o
\ No newline at end of file
+C_runtime/**/*.o
+beremiz_runtime
+**/tmp/**
--- a/C_runtime/PLCObject.cpp	Wed Jun 05 15:18:15 2024 +0200
+++ b/C_runtime/PLCObject.cpp	Thu Aug 15 23:50:01 2024 +0200
@@ -344,6 +344,9 @@
 
 uint32_t PLCObject::LoadPLC(void)
 {
+
+    // TODO use PLCLibMutex
+
     // Load the last transferred PLC md5 hex digest
     std::string md5sum;
     try {
--- a/C_runtime/PLCObject.hpp	Wed Jun 05 15:18:15 2024 +0200
+++ b/C_runtime/PLCObject.hpp	Thu Aug 15 23:50:01 2024 +0200
@@ -71,7 +71,6 @@
         uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken);
         uint32_t StartPLC(void);
         uint32_t StopPLC(bool * success);
-        uint32_t AutoLoad();
 
     private:
         // A map of all the blobs
@@ -109,6 +108,7 @@
         // Trace double buffer
         std::vector<trace_sample> m_traces;
 
+        uint32_t AutoLoad();
         uint32_t BlobAsFile(const binary_t * BlobID, std::filesystem::path filename);
         uint32_t LoadPLC(void);
         uint32_t UnLoadPLC(void);
--- a/plcopen/structures.py	Wed Jun 05 15:18:15 2024 +0200
+++ b/plcopen/structures.py	Thu Aug 15 23:50:01 2024 +0200
@@ -340,7 +340,7 @@
 ST_BLOCK_START_KEYWORDS = ["IF", "ELSIF", "ELSE", "CASE", "FOR", "WHILE", "REPEAT"]
 ST_BLOCK_END_KEYWORDS = ["END_IF", "END_CASE", "END_FOR", "END_WHILE", "END_REPEAT"]
 ST_KEYWORDS = [
-    "TRUE", "FALSE", "THEN", "OF", "TO", "BY", "DO", "DO", "UNTIL", "EXIT",
+    "TRUE", "FALSE", "THEN", "OF", "TO", "BY", "DO", "DO", "UNTIL", "EXIT", "CONTINUE",
     "RETURN", "NOT", "MOD", "AND", "XOR", "OR"
 ] + ST_BLOCK_START_KEYWORDS + ST_BLOCK_END_KEYWORDS