Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Defining it this way it would be future-proof, robust and re-useable for other attributes. Additionally I would (a discussed ages ago) define a top-level element for endianess in the mspec to make it part of the definition.

Cleaning up the string types

Right now all simple types (except bit) have a fixed lenght. The string type was changed to support expressions.

This sort of makes things a bit inconsistent, because a fixed length string field would require providing the constant lenght in an expression.

It would be good if a fixed length would use the usual length and if a dynamic length would use either a different name "vstring" (just a thought) or if it could use both notations.