summaryrefslogtreecommitdiff
path: root/src/Transfer/Syntax/Doc.tex
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-12-01 16:55:57 +0000
committerbringert <bringert@cs.chalmers.se>2005-12-01 16:55:57 +0000
commit56f62f31d88348e25636e13d9f8f57a04c1b0b74 (patch)
tree79adb3d2cd857ddced28cc7798481786b57faef1 /src/Transfer/Syntax/Doc.tex
parentd15acf44b66b6fab88868ce9fb3ed284c656f7c4 (diff)
Transfer: Added Double type.
Diffstat (limited to 'src/Transfer/Syntax/Doc.tex')
-rw-r--r--src/Transfer/Syntax/Doc.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Transfer/Syntax/Doc.tex b/src/Transfer/Syntax/Doc.tex
index 781f9c4fb..8c34773fe 100644
--- a/src/Transfer/Syntax/Doc.tex
+++ b/src/Transfer/Syntax/Doc.tex
@@ -37,6 +37,12 @@ except \terminal{"}\ unless preceded by \verb6\6.
Integer literals \nonterminal{Int}\ are nonempty sequences of digits.
+Double-precision float literals \nonterminal{Double}\ have the structure
+indicated by the regular expression $\nonterminal{digit}+ \mbox{{\it `.'}} \nonterminal{digit}+ (\mbox{{\it `e'}} \mbox{{\it `-'}}? \nonterminal{digit}+)?$ i.e.\
+two sequences of digits separated by a decimal point, optionally
+followed by an unsigned or negative exponent.
+
+
\subsection*{Reserved words and symbols}
@@ -266,6 +272,7 @@ All other symbols are terminals.\\
& {\delimit} &{\terminal{Type}} \\
& {\delimit} &{\nonterminal{String}} \\
& {\delimit} &{\nonterminal{Integer}} \\
+ & {\delimit} &{\nonterminal{Double}} \\
& {\delimit} &{\terminal{?}} \\
& {\delimit} &{\terminal{(}} {\nonterminal{Exp}} {\terminal{)}} \\
\end{tabular}\\