diff options
author | Mike Kucera | 2009-04-21 15:11:35 +0000 |
---|---|---|
committer | Mike Kucera | 2009-04-21 15:11:35 +0000 |
commit | 698d5bb0ba4381911898b0922c50ff247cc110a7 (patch) | |
tree | 2a4619211d0b4352e0cea9504be84f070146d55a /xlc/org.eclipse.cdt.core.lrparser.xlc/grammar | |
parent | 795dbe40e0b4f75c0a6aa9ad6805bbc3f82544d1 (diff) | |
download | org.eclipse.cdt-698d5bb0ba4381911898b0922c50ff247cc110a7.tar.gz org.eclipse.cdt-698d5bb0ba4381911898b0922c50ff247cc110a7.tar.xz org.eclipse.cdt-698d5bb0ba4381911898b0922c50ff247cc110a7.zip |
[273080] [XLC Parser] support for decimal floating point types (_Decimal32, _Decimal64, _Decimal128)
Diffstat (limited to 'xlc/org.eclipse.cdt.core.lrparser.xlc/grammar')
-rw-r--r-- | xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/xlc/XlcGrammarExtensions.g | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/xlc/XlcGrammarExtensions.g b/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/xlc/XlcGrammarExtensions.g index d1bc86b3702..58fe3cf505e 100644 --- a/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/xlc/XlcGrammarExtensions.g +++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/grammar/xlc/XlcGrammarExtensions.g @@ -20,6 +20,10 @@ $Terminals pixel bool + _Decimal32 + _Decimal64 + _Decimal128 + $End @@ -28,6 +32,14 @@ $End $Rules + + +simple_type_specifier_token + ::= '_Decimal32' + | '_Decimal64' + | '_Decimal128' + + type_id ::= vector_type /. $Build consumeTypeId(false); $EndBuild ./ |