+2006-10-16 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * device/lib/printf_large.c: slightly smaller
+ * doc/sdccman.lyx: do not use spaces within html links
+
2006-10-16 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, sdccconf_in.h, src/SDCCglobal,
#ifdef tolower
#undef tolower
#endif
+#ifdef islower
+#undef islower
+#endif
#ifdef isdigit
#undef isdigit
#endif
//#define toupper(c) ((c)&=~0x20)
#define toupper(c) ((c)&=0xDF)
#define tolower(c) ((c)|=0x20)
+#define islower(c) ((unsigned char)c >= (unsigned char)'a' && (unsigned char)c <= (unsigned char)'z')
#define isdigit(c) ((unsigned char)c >= (unsigned char)'0' && (unsigned char)c <= (unsigned char)'9')
typedef union
goto get_conversion_spec;
}
- lower_case = islower(c);
- if (lower_case)
+ if (islower(c))
{
c = toupper(c);
+ lower_case = 1;
}
+ else
+ lower_case = 0;
switch( c )
{
}
}
- while ( *PTR && (decimals-- > 0))
+ while ( (c = *PTR) && (decimals-- > 0))
{
- OUTPUT_CHAR( *PTR++, p );
+ OUTPUT_CHAR( c, p );
+ PTR++;
}
if ( left_justify && (length < width))
\layout Standard
The preprocessor SDCPP
-\begin_inset LatexCommand \index{SDCPP (preprocessor)}
+\begin_inset LatexCommand \index{sdcpp (preprocessor)}
\end_inset
\size footnotesize
-\begin_inset LatexCommand \url{http://www.goalsemi.com/TB_%20Interfacing%20SDCC%20to%20Syn%20and%20Textpad.pdf}
+\begin_inset LatexCommand \url{http://www.ramtron.com/doc/Products/Microcontroller/Support_Tools.asp}
\end_inset
\size footnotesize
-\begin_inset LatexCommand \url{http://www.ramtron.com/lib/mcusupporttools/TB100%20-%20How%20to%20Install%20and%20Configure%20the%20SDCC%20&%20Crimson%20Editor.pdf}
+\begin_inset LatexCommand \url{http://www.ramtron.com/doc/Products/Microcontroller/Support_Tools.asp}
\end_inset