Skip to content

Commit

Permalink
Adrian Pop, 2006-02-25
Browse files Browse the repository at this point in the history
- fixed Linux compilation issues
- fixed testsuite/mosfiles/rtest to call egrep without path. (you can't assume egrep is where you expect it to be)
- fixed testsuite/mofiles/drmodelica/Makefile: InValid -> Invalid (Linux case issue)
- fixed Compiler/absyn_builder/walker.g set k=1; (antlr-2.7.6) anyway we don't use any lookahead in the tree parser
- fixed Compiler/Ceval.rml to use the .exe on Linux also, because it does not find the file to simulate otherwise

Compilation on Linux, Cygwin, VC7 works now!
 

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2164 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 25, 2006
1 parent 0abdf22 commit cab3151
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Compiler/Ceval.rml
Expand Up @@ -1422,7 +1422,8 @@ axiom ceval_interactive_functions (env, Exp.CALL(Absyn.IDENT("clear"),[],_,_),s

win_citation() => cit &
System.path_delimiter => pd &
Util.string_append_list([cit,".", pd, executable,cit, " -m ",
string_append(executable,".exe") => executableSuffixedExe &
Util.string_append_list([cit,".", pd, executableSuffixedExe, cit, " -m ",
method_str," >> output.log 2>&1"
]) => sim_call &
System.system_call(sim_call) => 0 &
Expand Down
3 changes: 2 additions & 1 deletion Compiler/absyn_builder/walker.g
Expand Up @@ -82,7 +82,8 @@ options {
ASTLabelType = "RefMyAST";
buildAST = true;
importVocab = modelica_parser;
k = 2;
/* Adrian Pop fixed for antlr-2.7.6 (k can be only 1 for tree parsers): k = 2; to: */
k = 1;
defaultErrorHandler = false;
}
Expand Down

0 comments on commit cab3151

Please sign in to comment.