comparison trunk/src/dil/parser/Parser.d @ 759:9c47f377ca0b

Revised module cmd.Generate. Added class TagMapLoader. Fixed StringExpression.getString() and related code in the Parser. Added options 'xml_map' and 'html_map' to config.d
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 15 Feb 2008 02:07:53 +0100
parents 90668b83ae5e
children c909a3d3fa52
comparison
equal deleted inserted replaced
758:f4b9680c0e16 759:9c47f377ca0b
3212 { 3212 {
3213 if (postfix == '\0') 3213 if (postfix == '\0')
3214 postfix = token.pf; 3214 postfix = token.pf;
3215 else if (token.pf && token.pf != postfix) 3215 else if (token.pf && token.pf != postfix)
3216 error(token, MSG.StringPostfixMismatch); 3216 error(token, MSG.StringPostfixMismatch);
3217 str.length = str.length - 1;
3217 str ~= token.str; 3218 str ~= token.str;
3218 nT(); 3219 nT();
3219 } 3220 }
3220 switch (postfix) 3221 switch (postfix)
3221 { // TODO: convert string 3222 { // TODO: convert string