Skip to content
Snippets Groups Projects
This project is mirrored from https://www-csr.bessy.de/control/SoftDist/sequencer/repo/branch-2-2.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Oct 14, 2013
  2. Oct 13, 2013
    • benjamin.franksen's avatar
      snc: keep the order of literal C code in the generated code · 3a384f4e
      benjamin.franksen authored
      Previously literal C code blocks from the initial definition section
      (before state sets) went before everything else, and those from the
      final definitions section (after the state sets) were grouped together
      at the end. Now we try to generate stuff in a way that keeps the
      relative order the same as in the SNL source.
      
      This approach has limitations: top-level variable declarations must be
      generated in one block since in re-entrant mode they all go into a large
      struct; there are also auto-generated delarations for SNL function
      definitions. Both are now placed (in this order) after all the other
      definitions in the initial definition section.
      
      The resulting limitation for literal C code (it cannot refer to global
      SNL variables) is the same as it was before. A similar limitation now
      applies to SNL functions defined in the initial section (which makes
      them less useful when defined there).
      R2-1-99-2
      3a384f4e
    • benjamin.franksen's avatar
    • benjamin.franksen's avatar
      snc: removed header file generation · e71c62da
      benjamin.franksen authored
      The new SNL functions make a lot of embedded C code, especially C
      function definitions, obsolete. This means the header file is not as
      useful as I thought. On the other hand, function definitions may depend
      on stuff that has been declared before. So it becomes more important to
      keep the order of definitions in the output as similar as possible to
      that in the input file (the variables struct being the most notable
      exception). Grouping some stuff in a header file and other stuff in the
      C file makes this almost impossible.
      e71c62da
    • benjamin.franksen's avatar
      test: added funcdefShadowGlobal.st · ba427403
      benjamin.franksen authored
      This tests that a global SNL variable is (correctly) shadowed by a
      function parameter with the same name, even in re-entrant mode.
      ba427403
  3. Oct 09, 2013
  4. Oct 08, 2013
  5. Oct 07, 2013
  6. Oct 19, 2013
  7. Oct 09, 2013
  8. Oct 08, 2013
  9. Oct 07, 2013
Loading