changeset 28:fedd0147cb6f

Consistent separator names.
author Mikhail Kryshen <mikhail@kryshen.net>
date Thu, 14 May 2009 18:17:54 +0400
parents 2b5306159761
children 2c6edd9cf677
files src/kryshen/tema/TemplateParser.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/kryshen/tema/TemplateParser.java	Thu May 14 18:15:15 2009 +0400
+++ b/src/kryshen/tema/TemplateParser.java	Thu May 14 18:17:54 2009 +0400
@@ -40,7 +40,7 @@
     public static final String ESCAPE_WHITESPACE = "\\\\";
     
     /* Separators. */
-    public static final char[] REC_DATA_SEPARATORS = {':'};
+    public static final char[] INVOKE_DATA_SEPARATORS = {':'};
     public static final char[] VERBATIM_DATA_SEPARATORS = {'\\', '`'};
     public static final char[] NOINVOKE_DATA_SEPARATORS = {'#'};
     public static final char[] LIST_SEPARATORS = {' ', '\t', '\r', '\n'};
@@ -364,7 +364,7 @@
                             DataFormat.SUBFUNCTION :
                             DataFormat.SUBFUNCTION_NOINVOKE,
                         in, out);
-            } else if (isSeparator(c, REC_DATA_SEPARATORS)) {
+            } else if (isSeparator(c, INVOKE_DATA_SEPARATORS)) {
                 skipEscaped(in);
                 return invoke(
                         fd.invoke ? sb.toString() : "true",