File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1948,17 +1948,7 @@ match var
19481948 * before set_memory_state. Strings are not known, so we copy them, etc...
19491949 */
19501950case var as VARIABLE(ty = T_STRING(__)) then
1951- if not acceptMetaModelicaGrammar() then
1952- // We need to strdup() all strings, then allocate them on the memory pool again, then free the temporary string
1953- let &varCopy += 'String Variables not Allowed in ParModelica.'
1954- let &varAssign +=
1955- <<
1956- String Variables not Allowed in ParModelica.
1957- >>
1958- ""
1959- else
1960- let &varAssign += 'How did you get here??'
1961- ""
1951+ error(sourceInfo(), "String Variables not Allowed in ParModelica.")
19621952
19631953case var as VARIABLE(parallelism = PARGLOBAL(__)) then
19641954 let instDimsInit = (instDims |> exp =>
You can’t perform that action at this time.
0 commit comments