mirror of
https://github.com/nasa/trick.git
synced 2025-06-14 13:18:21 +00:00
Symbolic links rise again #530
Found more places where symbolic links cause havoc. Also added back a #define that was removed in parameter_types.h and added back the messaging routines to the list swig processes.
This commit is contained in:
@ -426,7 +426,7 @@ bool FieldVisitor::VisitRecordType(clang::RecordType *rt) {
|
||||
tst_string.erase(pos , 7) ;
|
||||
}
|
||||
// clang changes bool to _Bool. We need to change it back
|
||||
if ((pos = tst_string.find("<_Bool")) != std::string::npos ) {
|
||||
while ((pos = tst_string.find("<_Bool")) != std::string::npos ) {
|
||||
tst_string.replace(pos , 6, "<bool") ;
|
||||
}
|
||||
while ((pos = tst_string.find(" _Bool")) != std::string::npos ) {
|
||||
|
Reference in New Issue
Block a user