diff options
author | Tristan Gingold <tgingold@free.fr> | 2013-12-17 06:25:53 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2013-12-17 06:25:53 +0100 |
commit | 48448a12ef628218db298d8b7c6879e28cdd019a (patch) | |
tree | 7e612d41dc01c435cf32e3cee029b429c9362bb9 /tokens.adb | |
parent | 04ad1cd54d99fc3ac3d82c69ee5f7c2db7e2275a (diff) | |
download | ghdl-48448a12ef628218db298d8b7c6879e28cdd019a.tar.gz ghdl-48448a12ef628218db298d8b7c6879e28cdd019a.tar.bz2 ghdl-48448a12ef628218db298d8b7c6879e28cdd019a.zip |
Sync tree: add parsing of AMS-VHDL, add Darwin syntax in asm files.
Diffstat (limited to 'tokens.adb')
-rw-r--r-- | tokens.adb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tokens.adb b/tokens.adb index 2022ecc4b..07dd1ac7a 100644 --- a/tokens.adb +++ b/tokens.adb @@ -70,6 +70,9 @@ package body Tokens is when Tok_Bit_String => return "<bit string>"; + when Tok_Equal_Equal => + return "=="; + -- relational_operator: when Tok_Equal => return "="; @@ -317,9 +320,38 @@ package body Tokens is when Tok_Ror => return "ror"; + -- VHDL 00 when Tok_Protected => return "protected"; + -- AMS-VHDL + when Tok_Across => + return "across"; + when Tok_Break => + return "break"; + when Tok_Limit => + return "limit"; + when Tok_Nature => + return "nature"; + when Tok_Noise => + return "noise"; + when Tok_Procedural => + return "procedural"; + when Tok_Quantity => + return "quantity"; + when Tok_Reference => + return "reference"; + when Tok_Spectrum => + return "spectrum"; + when Tok_Subnature => + return "subnature"; + when Tok_Terminal => + return "terminal"; + when Tok_Through => + return "through"; + when Tok_Tolerance => + return "tolerance"; + when Tok_And_And => return "&&"; when Tok_Bar_Bar => |