Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Some automagic code clean-up using automagic - In Patternm.mo, elabExp uses false instead of allowTopLevelInputs - In Static.mo make checkAssignmentToInput2 succeed even on error - Create the log-file `omc +g=MetaModelica MainTest.mos | grep input | sort > log` {{{ #!/bin/bash while read line; do FILE=`echo $line | cut -d: -f1 | cut "-d[" -f2` LINE1=`echo $line | cut -d: -f2 | cut -d: -f3` LINE2=`echo $line | cut -d: -f3 | cut -d: -f4 | cut -d- -f2` PAT=`echo $line | cut "-d " -f9` for LINE in `seq $LINE1 $LINE2`; do if sed -n "$LINE"p "$FILE" | grep -q "then"; then echo "NOT Processing $FILE $LINE using $PAT" else echo "Processing $FILE $LINE using $PAT" sed -i "$LINE""s/,$PAT,/,_,/g" "$FILE" sed -i "$LINE""s/, $PAT,/, _,/g" "$FILE" sed -i "$LINE""s/($PAT,/(_,/g" "$FILE" sed -i "$LINE""s/,$PAT)/,_)/g" "$FILE" sed -i "$LINE""s/, $PAT)/, _)/g" "$FILE" fi done done < log }}} git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13039 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
71 changed files
with
2,783 additions
and
2,783 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.