Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20312/src/classes
Modified Files:
MessageTemplate.cpp
Log Message:
fixed another bug with parsing of quoted template arguments (closing quote wasn't
skipped)
Index: MessageTemplate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageTemplate.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -b -u -2 -r1.34 -r1.35
--- MessageTemplate.cpp 27 Sep 2004 11:40:59 -0000 1.34
+++ MessageTemplate.cpp 23 Oct 2004 23:29:59 -0000 1.35
@@ -251,4 +251,17 @@
}
+ if ( quoted )
+ {
+ // skip closing quote or complain about missing one
+ if ( *pc == '"' )
+ pc++;
+ else
+ wxLogWarning(_("Expected closing quote at line "
+ "%d, position %d in the file '%s'"),
+ m_nLine,
+ pc - m_pStartOfLine,
+ m_filename.c_str());
+ }
+
arguments.Add(arg);
}
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates