Skip to content

Commit

Permalink
Use correct bootstrapping header during stage 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Feb 11, 2016
1 parent d422fe7 commit 70ce925
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Parser/BaseModelica_Lexer.g
Expand Up @@ -189,7 +189,7 @@ IDENT;
@includes {
#include "ModelicaParserCommon.h"
#include "runtime/errorext.h"
#include "errorext.h"
}
T_ALGORITHM : 'algorithm';
Expand Down
1 change: 0 additions & 1 deletion Parser/Makefile.common
Expand Up @@ -4,7 +4,6 @@ ANTLRJAR = $(ANTLR)/../tool/antlr-3.2.jar
#ANTLRJAR = $(ANTLR)/../tool/antlr-3.4-complete.jar
ANTLRCMD=java -cp $(ANTLRJAR) org.antlr.Tool -Xconversiontimeout 10000 -report

COMPILERHOME=../Compiler/
BUILDINC = -I../Compiler/runtime -I../SimulationRuntime/c/meta -I../SimulationRuntime/c/ -I../SimulationRuntime/c/meta/gc -I../SimulationRuntime/c/util

.PHONY: all
Expand Down
2 changes: 1 addition & 1 deletion Parser/Makefile.in
@@ -1,7 +1,7 @@
CC=@CC@
CXX=@CXX@
CFLAGS=@CFLAGS@ -Wall @EXTRA_CFLAGS_GENERATED_CODE@
CPPFLAGS=@CPPFLAGS@ -I$(COMPILERHOME) $(RMLINC) -I. -I$(ANTLR) -I$(ANTLR)/include -I../3rdParty/gc/include $(BUILDINC)
CPPFLAGS=@CPPFLAGS@ $(RMLINC) -I. -I$(ANTLR) -I$(ANTLR)/include -I../3rdParty/gc/include $(BUILDINC)
OMC=../build/bin/omc
SHREXT=@SHREXT@
ifeq (x86_64,@target_cpu@)
Expand Down
2 changes: 1 addition & 1 deletion Parser/Makefile.omdev.mingw
@@ -1,7 +1,7 @@
CC=gcc
CXX=g++
CFLAGS=-O3 -Wall
CPPFLAGS=-I$(COMPILERHOME) $(RMLINC) -I.. -I. -I$(ANTLR) -I$(ANTLR)/include $(BUILDINC) -I../3rdParty/gc/include
CPPFLAGS=$(RMLINC) -I.. -I. -I$(ANTLR) -I$(ANTLR)/include $(BUILDINC) -I../3rdParty/gc/include

OMBUILDDIR=../build
OMC=../build/bin/omc.exe
Expand Down
2 changes: 1 addition & 1 deletion Parser/Modelica.g
Expand Up @@ -46,7 +46,7 @@ import MetaModelica_Lexer; /* Makes all tokens defined, imported in OptiMo_Lexer
#include <time.h>
#include "ModelicaParserCommon.h"
#include "runtime/errorext.h"
#include "errorext.h"
#define ModelicaParserException 100
#define ModelicaLexerException 200
Expand Down
4 changes: 2 additions & 2 deletions Parser/parse.c
Expand Up @@ -43,8 +43,8 @@
#include <antlr3intstream.h>
#include <antlr3config.h>

#include "runtime/errorext.h"
#include "runtime/systemimpl.h"
#include "errorext.h"
#include "systemimpl.h"

pthread_once_t parser_once_create_key = PTHREAD_ONCE_INIT;
pthread_key_t modelicaParserKey;
Expand Down

0 comments on commit 70ce925

Please sign in to comment.