Position-based deduplication logic is insufficient

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      Jextract deduplicates declarations using cursor positions. This works in most cases, but there are cases where this doesn't work, such as when declaration are introduced by a macro:

      #define FIELDS \
      int x; \
      int y;

      struct PointA {
         FIELDS
      };

      struct PointB {
         FIELDS
      };

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: