Skip to content

Commit

Permalink
- Added boxptr_intLt,intGt,realLt,realGt
Browse files Browse the repository at this point in the history
- Fixed Util.listMap6 RML error
- Moved Parser/OpenModelicaBootstrappingHeader.h to Compiler/OpenModelicaBootstrappingHeader.h
  - It should also be used by Compiler/runtime so it makes more sense to keep it here
- Simulations and functions now generate a _records.c file containing record declarations
  - This is needed so that external C functions can also construct metarecords
- Updated Unparsing.mo (no longer needs to duplicate the record declarations)


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7172 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 24, 2010
1 parent ba88cbb commit 0fb2618
Show file tree
Hide file tree
Showing 14 changed files with 165 additions and 187 deletions.
File renamed without changes.
5 changes: 4 additions & 1 deletion Compiler/Makefile.in
Expand Up @@ -142,9 +142,12 @@ ifeq ($(wildcard ../build/bin/omc),)
simcode:
@echo OpenModelica has not been compiled yet. Using previously generated SimCode files.
else
simcode:
simcode: OpenModelicaBootstrappingHeader.h
$(MAKE) -C susan_codegen/
$(MAKE) -C susan_codegen/SimCode/
OpenModelicaBootstrappingHeader.h: Absyn.mo Interactive.mo Values.mo GenerateOMCHeader.mos
../build/bin/omc +g=MetaModelica GenerateOMCHeader.mos > $@.log || (cat $@.log && false)
@mv $@.new $@
endif
$(SUSANMO): simcode

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Compiler/SimCode.mo
Expand Up @@ -1073,7 +1073,7 @@ public function createFunctions
output BackendDAE.BackendDAE outBackendDAE;
output DAE.DAElist outDAE;
algorithm
(libs, includes, functions, outBackendDAE, outDAE) :=
(libs, includes, recordDecls, functions, outBackendDAE, outDAE) :=
matchcontinue (inProgram,inDAElist,inBackendDAE,functionTree,inPath)
local
list<Absyn.Path> funcPaths, funcRefPaths, funcNormalPaths;
Expand Down

0 comments on commit 0fb2618

Please sign in to comment.