Skip to content

Commit

Permalink
- More actions to the ANTLR3 parser
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5972 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 28, 2010
1 parent 0ab6e1f commit 297e5be
Show file tree
Hide file tree
Showing 3 changed files with 571 additions and 526 deletions.
4 changes: 2 additions & 2 deletions Parser/Makefile
Expand Up @@ -15,8 +15,8 @@ libantlr3.a: antlr-3.2/runtime/C/src/* antlr-3.2/runtime/C/include/*
ModelicaLexer.c ModelicaParser.c: Modelica.g
$(ANTLRCMD) $<

ModelicaParser: libantlr3.a ModelicaLexer.c ModelicaParser.c
gcc -O3 -o ModelicaParser *.c -I$(COMPILERHOME) -L$(RMLHOME)/lib/plain/ $(LIBRML) -I$(RMLHOME)/include/plain -I. -Iantlr-3.2/runtime/C -Iantlr-3.2/runtime/C/include -L. -lantlr3
ModelicaParser: libantlr3.a ModelicaLexer.c ModelicaParser.c main.c
gcc -O3 -o ModelicaParser ModelicaLexer.c ModelicaParser.c main.c -I$(COMPILERHOME) -L$(RMLHOME)/lib/plain/ $(LIBRML) -I$(RMLHOME)/include/plain -I. -Iantlr-3.2/runtime/C -Iantlr-3.2/runtime/C/include -L. -lantlr3
mkdir -p Release
cp -f ModelicaParser Release/ModelicaParser

Expand Down

0 comments on commit 297e5be

Please sign in to comment.