From: borutr Date: Wed, 5 Mar 2008 20:21:48 +0000 (+0000) Subject: * dos/sdccman.lyx: docummented predefined macros SDCC_REVISION, X-Git-Url: https://git.gag.com/?p=fw%2Fsdcc;a=commitdiff_plain;h=0ac6eee0fb204622b8915183dc9b513616cf6e8f * dos/sdccman.lyx: docummented predefined macros SDCC_REVISION, SDCC_PARMS_IN_BANK1, SDCC_FLOAT_REENT and SDCC_INT_LONG_REENT git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5072 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 12a89652..7c7c4a31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-05 Borut Razem + + * dos/sdccman.lyx: docummented predefined macros SDCC_REVISION, + SDCC_PARMS_IN_BANK1, SDCC_FLOAT_REENT and SDCC_INT_LONG_REENT + 2008-03-05 Jesus Calvino-Fraga * support/librarian/sdcclib.c:Added feature request 1908061: @@ -6,8 +11,8 @@ 2008-03-04 Frieder Ferlemann * src/SDCCmain.c: added predefined macros SDCC_REVISION (RFE #1907229), - and (depending on corresponding compiler option) SDCC_PARMS_IN_BANK1, - SDCC_FLOAT_REENT, SDCC_INT_LONG_REENT + and (depending on corresponding compiler option) SDCC_PARMS_IN_BANK1, + SDCC_FLOAT_REENT, SDCC_INT_LONG_REENT * device/include/mcs51/compiler.h: removed umlauts, added double underscore diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index a2acece7..ac70455b 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -868,7 +868,51 @@ char type parameters to vararg \end_inset - functions are casted to int unless explicitly casted + functions are casted to int unless explicitly casted and +\series bold +- +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-std-c89 +\begin_inset LatexCommand \index{-\/-std-c89} + +\end_inset + + +\series default +and +\series bold + - +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-std-c99 +\begin_inset LatexCommand \index{-\/-std-c99} + +\end_inset + + +\series default + command line option are not defined \begin_inset Marginal status collapsed @@ -898,6 +942,68 @@ n", a, (char)a); \newline will push a as an int and as a char resp. +\newline + +\newline + +\family typewriter +\InsetSpace ~ +\InsetSpace ~ +char a=3; +\newline +\InsetSpace ~ +\InsetSpace ~ +printf ("%d %c +\backslash +n", a, (char)a); +\family default + +\newline + will push a as two ints if +\series bold + - +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-std-c89 +\begin_inset LatexCommand \index{-\/-std-c89} + +\end_inset + + +\series default +or +\series bold + - +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-std-c99 +\begin_inset LatexCommand \index{-\/-std-c99} + +\end_inset + + +\series default + command line option is defined. \end_layout \begin_layout Itemize @@ -22585,7 +22691,7 @@ The compiler creates the following #defines \begin_layout Standard \begin_inset Tabular - + @@ -22955,7 +23061,7 @@ when \end_inset - + \begin_inset Text @@ -22981,6 +23087,158 @@ when is used \end_layout +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +SDCC_REVISION +\begin_inset LatexCommand \index{SDCC\_REVISION} + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Always defined. + SDCC revision number +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +SDCC_PARMS_IN_BANK1 +\begin_inset LatexCommand \index{SDCC\_PARMS\_IN\_BANK1} + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +when +\emph on +- +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-parms-in-bank1 +\emph default + is used +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +SDCC_FLOAT_REENT +\begin_inset LatexCommand \index{SDCC\_MODEL\_FLAT24} + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +when +\emph on +- +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-float-reent +\emph default + is used +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +SDCC_INT_LONG_REENT +\begin_inset LatexCommand \index{SDCC\_INT\_LONG\_REENT} + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +when +\emph on +- +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +/ +\end_layout + +\end_inset + +-int-long-reent +\emph default + is used +\end_layout + \end_inset