Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ide/sdk: Fixed forcing bit depth option not invoked for static libraries
[sdk]
/
compiler
/
bootstrap
/
libec
/
bootstrap
/
ast.c
diff --git
a/compiler/bootstrap/libec/bootstrap/ast.c
b/compiler/bootstrap/libec/bootstrap/ast.c
index
b5d1150
..
dc5af6f
100644
(file)
--- a/
compiler/bootstrap/libec/bootstrap/ast.c
+++ b/
compiler/bootstrap/libec/bootstrap/ast.c
@@
-3639,6
+3639,14
@@
specType->kind = 21;
}
else if(spec->type == 1)
{
}
else if(spec->type == 1)
{
+if(spec->name && (!strcmp(spec->name, "intptr") || !strcmp(spec->name, "uintptr")))
+{
+specType->kind = 22;
+if(!strcmp(spec->name, "uintptr"))
+specType->isSigned = 0x0;
+}
+else
+{
struct Symbol * symbol = spec->name ? FindType(curContext, spec->name) : (((void *)0));
if(symbol && symbol->type)
struct Symbol * symbol = spec->name ? FindType(curContext, spec->name) : (((void *)0));
if(symbol && symbol->type)
@@
-3658,6
+3666,7
@@
if(!specType->_class)
specType->kind = 3;
}
}
specType->kind = 3;
}
}
+}
else if(spec->type == 2)
{
specType->kind = 15;
else if(spec->type == 2)
{
specType->kind = 15;