Skip to content

Changes

Summary

  1. Fixing quoted identifiers in CSV and FMU (#12346) (details)
Commit ab6038a1c00431030f2a84d2e3f0815070df46d2 by noreply
Fixing quoted identifiers in CSV and FMU (#12346)

* Fixing FMU export with quoted identifier

* Fixing CSV quoted identifier escape.

* Don't allow empty quoted identifier in Modelica: `''`
The file was modified testsuite/flattening/modelica/mosfiles/Makefile (diff)
The file was addedtestsuite/openmodelica/fmi/ModelExchange/2.0/QuotedIdentifierExport.mos
The file was modified OMCompiler/Parser/BaseModelica_Lexer.g (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)
The file was addedtestsuite/openmodelica/fmi/ModelExchange/2.0/QuotedIdentifier.mo
The file was modified OMCompiler/SimulationRuntime/c/simulation/results/simulation_result_csv.cpp (diff)
The file was modified OMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modified OMCompiler/Compiler/Template/CodegenUtil.tpl (diff)
The file was addedtestsuite/flattening/modelica/mosfiles/QuotedIdentifierCSV.mos
The file was modified OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff)
The file was modified OMCompiler/Compiler/Template/CodegenFMUCommon.tpl (diff)
The file was addedtestsuite/openmodelica/fmi/ModelExchange/2.0/.gitignore
The file was modified testsuite/flattening/modelica/mosfiles/QuotedIdentifier.mo (diff)
The file was modified testsuite/openmodelica/fmi/ModelExchange/2.0/Makefile (diff)