From 7ad62217bb6f3986734c8fbe0e7d0c8722032aa1 Mon Sep 17 00:00:00 2001 From: Thanassis Tsiodras Date: Wed, 22 Feb 2017 13:03:51 +0100 Subject: [PATCH] Install data types used in DataViews --- install/90_misc.sh | 4 ++++ misc/taste-common-types/taste-types.asn | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 misc/taste-common-types/taste-types.asn diff --git a/install/90_misc.sh b/install/90_misc.sh index 5aa9148..87b20e4 100755 --- a/install/90_misc.sh +++ b/install/90_misc.sh @@ -14,6 +14,10 @@ rm -f taste-config.pl.tmp mkdir -p ${PREFIX}/share/taste cp taste-directives/TASTE-Directives.asn ${PREFIX}/share/taste/TASTE-Directives.asn || exit 1 +# TASTE types +mkdir -p ${PREFIX}/share/taste-types +cp misc/taste-common-types/taste-types.asn ${PREFIX}/share/taste-types/ || exit 1 + # Gnuplot cp gnuplot/driveGnuPlotsStreams.pl ${PREFIX}/bin/taste-gnuplot-streams diff --git a/misc/taste-common-types/taste-types.asn b/misc/taste-common-types/taste-types.asn new file mode 100644 index 0000000..6078c6f --- /dev/null +++ b/misc/taste-common-types/taste-types.asn @@ -0,0 +1,17 @@ +TASTE-BasicTypes DEFINITIONS ::= +BEGIN + +-- Set of TASTE predefined basic types + +T-Int32 ::= INTEGER (-2147483648 .. 2147483647) + +T-UInt32 ::= INTEGER (0 .. 4294967295) + +T-Int8 ::= INTEGER (-128 .. 127) + +T-UInt8 ::= INTEGER (0 .. 255) + +T-Boolean ::= BOOLEAN + +END + -- GitLab