         zeroPad = parseInteger();
         if (!isFinite(zeroPad))
         {
+            parseError("Expected number after zero pad specifier", index);
             return false;
-            parseError("Expected number after zero pad specifier", index);
         }
         switch (template.charAt(index))
         {

        decimal = parseInteger();
        if (!isFinite(decimal))
        {
            return false;
            parseError("Expected number after precision specifier", index);
        }
        else
        {


    private function parseError(message:String, errorIndex:int):void
    {
        trace("Parse error: " + message + " at char " + errorIndex);
    }
}

