Skip to content

Commit

Permalink
Add "aliases" fields to the grammar
Browse files Browse the repository at this point in the history
Promotion of extensions lead to duplicated entries.
The patch introduce a new entry "aliases" to the grammar.
It is a list of strings, where each string is an alternative name for the token,
and applies on instructions and operand kind's enumerants.
The grammar is updated to use the fields and all duplicated were removed.

The header generator now processes the aliases when generating the headers to account for the change.
This ensure the generated headers doesn't change.
  • Loading branch information
Naghasan committed Sep 11, 2024
1 parent 2a9b6f9 commit b5f8c26
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 810 deletions.
Loading

0 comments on commit b5f8c26

Please sign in to comment.