diff options
| author | Tristan Gingold <tgingold@free.fr> | 2021-11-05 07:33:03 +0100 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2021-11-05 07:33:03 +0100 | 
| commit | b0f3a909b0ee15b57b6999706fe1327f97a48a6c (patch) | |
| tree | f0c7c6535f4a3c7835d9688c2360c7c3887ef23b | |
| parent | 46256fac0b1bf55c61deba39a368f53a2297b583 (diff) | |
| download | ghdl-b0f3a909b0ee15b57b6999706fe1327f97a48a6c.tar.gz ghdl-b0f3a909b0ee15b57b6999706fe1327f97a48a6c.tar.bz2 ghdl-b0f3a909b0ee15b57b6999706fe1327f97a48a6c.zip | |
scripts/pnodes.py: add a comment
| -rwxr-xr-x | scripts/pnodes.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/scripts/pnodes.py b/scripts/pnodes.py index f260c4b1a..ec00a54ac 100755 --- a/scripts/pnodes.py +++ b/scripts/pnodes.py @@ -241,6 +241,9 @@ def read_kinds(filename):  # Read functions  def read_methods(filename):      lr = linereader(filename) +    # Note: this is a list so that the output is deterministic. +    # Duplicates are not detected, but they will be by the Ada compiler. +    # TODO: use an ordered dict ?      funcs = []      pat_field = re.compile(r"   --  Field: ([\w,]+)( \w+)?( \(\w+\))?\n")      pat_conv = re.compile(r"^ \((\w+)\)$") | 
