Skip to content

Text format: memarg doesn't follow lexical format #1552

Closed
@tlively

Description

@tlively

The offset and align fields in memargs are specified as 'offset='o:u32 and 'align='a:u32 with no space between the keywords and the u32s. However, according to the longest match rule in the lexical format, valid offsets and alignments such as offset=0 and align=3 are reserved and should not appear in the source.

Obviously we can't fix this by changing the format of the offset and align fields due to backward compatibility. Is there a way we can safely fix this in the lexical format?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions