diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Slice/parser.dsp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cpp/src/Slice/parser.dsp b/cpp/src/Slice/parser.dsp index 192684cce81..195f176a28e 100644 --- a/cpp/src/Slice/parser.dsp +++ b/cpp/src/Slice/parser.dsp @@ -155,6 +155,22 @@ SOURCE=.\Grammer.y !IF "$(CFG)" == "parser - Win32 Release"
+# Begin Custom Build
+InputPath=.\Grammer.y
+
+BuildCmds= \
+ bison -dvt Grammer.y \
+ move Grammer.tab.c Grammer.cpp \
+ move Grammer.tab.h Grammer.h \
+
+
+"Grammer.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(BuildCmds)
+
+"Grammer.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(BuildCmds)
+# End Custom Build
+
!ELSEIF "$(CFG)" == "parser - Win32 Debug"
# Begin Custom Build
@@ -182,6 +198,15 @@ SOURCE=.\Scanner.l !IF "$(CFG)" == "parser - Win32 Release"
+# Begin Custom Build
+InputPath=.\Scanner.l
+
+"Scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex Scanner.l
+ move lex.yy.c Scanner.cpp
+
+# End Custom Build
+
!ELSEIF "$(CFG)" == "parser - Win32 Debug"
# Begin Custom Build
|