diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-10-15 07:05:17 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-10-15 07:28:51 +0200 |
commit | da1c6b96c253aca9e794af3ded8bcc662215520a (patch) | |
tree | b764d1d07f70c5a8d45a7117f975a27cd90415e8 /src/xtools/pnodes.py | |
parent | e43335630e1059eddee80bc63c8e8c55d8b9a317 (diff) | |
download | ghdl-da1c6b96c253aca9e794af3ded8bcc662215520a.tar.gz ghdl-da1c6b96c253aca9e794af3ded8bcc662215520a.tar.bz2 ghdl-da1c6b96c253aca9e794af3ded8bcc662215520a.zip |
nodes: remove Int and Fp formats, use multiple fields.
Diffstat (limited to 'src/xtools/pnodes.py')
-rwxr-xr-x | src/xtools/pnodes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xtools/pnodes.py b/src/xtools/pnodes.py index 243580de0..4b7e8a5f9 100755 --- a/src/xtools/pnodes.py +++ b/src/xtools/pnodes.py @@ -258,7 +258,8 @@ def read_kinds(filename): raise ParseError(lr, 'unknown conversion ' + conv) else: conv = None - + if len(fields) > 1 and conv != 'grp': + raise ParseError(lr, 'bad conversion for multiple fields') # Read function l = lr.get() mf = pat_func.match(l) |