From 1d3aaf3339f30e43ee764e8dd898b382dc9e3e76 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 17 Nov 2016 08:56:40 -0500 Subject: [PATCH] Extracted param symbol generation The `preproc:param-dim' template must remain for now, as it is used by others. * src/current/include/preproc/symtable.xsl (preproc:symtable)[lv:param]: Extracted template. * src/symtable/symbols.xsl (preproc:symtable)[lv:param]: Added template. * test/symtable/symbols.xsl (lv:param): Scenario added. --- src/current/include/preproc/symtable.xsl | 18 +---- src/symtable/symbols.xsl | 93 +++++++++++++++++++++++- test/symtable/symbols.xspec | 71 ++++++++++++++++++ 3 files changed, 162 insertions(+), 20 deletions(-) diff --git a/src/current/include/preproc/symtable.xsl b/src/current/include/preproc/symtable.xsl index e12e5a4b..069c22b0 100644 --- a/src/current/include/preproc/symtable.xsl +++ b/src/current/include/preproc/symtable.xsl @@ -71,6 +71,7 @@ + - - - - - - - - - - @@ -72,9 +73,7 @@ @item dim Dimensions of@tie{}@obj{} as an integer. - Standard dimensions are scalar@tie{}(0), - vector@tie{}(1), - and matrix@tie{}(2). + See @ref{_symtable:str-to-dim#1} for supported strings. @emph{Required} @item dtype @@ -128,6 +127,42 @@ --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +