diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-24 21:00:52 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-24 21:00:52 -0800 |
commit | 51c7741040d95c5deece939dae5e4136cc04afc4 (patch) | |
tree | 96631ee5aa9fd0c8c45f019ff154cc4fc8ca85d0 /contrib/arch-linux/new.patch | |
parent | d1dbe3b69e6f95ef8ecd4cf959863b922ab47c66 (diff) | |
parent | 4e47c44d335276cf0dc5ed3a0756e50c98c1b9b9 (diff) |
Merge branch 'buttonbox'
Conflicts:
doc/telemetrum-doc.xsl
Pull the buttbox version of the docs in as it had been updated.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'contrib/arch-linux/new.patch')
-rw-r--r-- | contrib/arch-linux/new.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/arch-linux/new.patch b/contrib/arch-linux/new.patch new file mode 100644 index 00000000..74e1df06 --- /dev/null +++ b/contrib/arch-linux/new.patch @@ -0,0 +1,35 @@ +--- src/SDCCast.c ++++ src/SDCCast.c +@@ -863,6 +863,8 @@ processParms (ast *func, + + ftype = (*actParm)->ftype; + ++ resultType = RESULT_TYPE_NONE; ++ + /* If it's a char, upcast to int. */ + if (IS_INTEGRAL (ftype) + && (getSize (ftype) < (unsigned) INTSIZE)) +@@ -874,12 +876,14 @@ processParms (ast *func, + { + newType = newAst_LINK (copyLinkChain(ftype)); + DCL_TYPE (newType->opval.lnk) = port->unqualified_pointer; ++ resultType = RESULT_TYPE_GPTR; + } + + if (IS_AGGREGATE (ftype)) + { + newType = newAst_LINK (copyLinkChain (ftype)); + DCL_TYPE (newType->opval.lnk) = port->unqualified_pointer; ++ resultType = RESULT_TYPE_GPTR; + } + + if (newType) +@@ -890,7 +894,7 @@ processParms (ast *func, + (*actParm)->filename = (*actParm)->right->filename; + (*actParm)->lineno = (*actParm)->right->lineno; + +- decorateType (*actParm, RESULT_TYPE_NONE); ++ decorateType (*actParm, resultType); + } + return 0; + } /* vararg */ |