Skip to content

Commit

Permalink
- Warn about : in generated code
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10967 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 26, 2012
1 parent 9379161 commit 25030de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/susan_codegen/SimCode/CodegenC.tpl
Expand Up @@ -6405,7 +6405,7 @@ template dimension(Dimension d)
match d
case DAE.DIM_INTEGER(__) then integer
case DAE.DIM_ENUM(__) then size
case DAE.DIM_UNKNOWN(__) then ":"
case DAE.DIM_UNKNOWN(__) then error(sourceInfo(),"Unknown dimensions may not be part of generated code. This is most likely an error on the part of OpenModelica. Please submit a detailed bug-report.")
else "INVALID_DIMENSION"
end dimension;

Expand Down

0 comments on commit 25030de

Please sign in to comment.