Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unify the names of these last 3 files...

  • Loading branch information...
commit 7b0d92dd1886678b0c13749be40fad111456066d 1 parent 19dad41
@zsuraski zsuraski authored
View
24 Zend/Makefile.am
@@ -1,16 +1,16 @@
## Process this file with automake to produce Makefile.in -*- makefile -*-
-#CLEANFILES = zend-parser.c zend-parser.h zend-scanner.c zend-parser.output
+#CLEANFILES = zend_language_parser.c zend_language_parser.h zend_language_scanner.c zend_language_parser.output
AUTOMAKE_OPTIONS=foreign
EXTRA_LTLIBRARIES=libZend_cc.la libZend_c.la
noinst_LTLIBRARIES=$(ZEND_SCANNER) libZend.la
-libZend_cc_la_SOURCES=zend-scanner-cc.cc
-libZend_c_la_SOURCES=zend-scanner.c
+libZend_cc_la_SOURCES=zend_language_scanner_cc.cc
+libZend_c_la_SOURCES=zend_language_scanner.c
libZend_la_SOURCES=\
- zend-parser.y \
+ zend_language_parser.y \
zend_alloc.c zend_compile.c zend_constants.c zend_dynamic_array.c \
zend_execute.c zend_execute_API.c zend_highlight.c zend_llist.c \
zend_opcode.c zend_operators.c zend_ptr_stack.c zend_stack.c \
@@ -24,17 +24,17 @@ libZend_la_DEPENDENCIES = $(ZEND_SCANNER)
# automake isn't too clever about "non-standard" use of lex and yacc
-$(libZend_la_OBJECTS) zend-scanner.lo zend-scanner-cc.lo: zend-parser.h
+$(libZend_la_OBJECTS) zend_language_scanner.lo zend_language_scanner_cc.lo: zend_language_parser.h
-zend-scanner.c: $(srcdir)/zend-scanner.l
- $(LEX) -Pzend -o$@ -i $(srcdir)/zend-scanner.l
+zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
+ $(LEX) -Pzend -o$@ -i $(srcdir)/zend_language_scanner.l
-zend-scanner-cc.cc: $(srcdir)/zend-scanner.l
- $(LEX) -+ -B -i -S$(srcdir)/flex.skl -Pzend -o$@ $(srcdir)/zend-scanner.l
+zend_language_scanner_cc.cc: $(srcdir)/zend_language_scanner.l
+ $(LEX) -+ -B -i -S$(srcdir)/flex.skl -Pzend -o$@ $(srcdir)/zend_language_scanner.l
-zend-parser.h: zend-parser.c
-zend-parser.c: $(srcdir)/zend-parser.y
- $(YACC) -p zend -v -d $(srcdir)/zend-parser.y -o zend-parser.c
+zend_language_parser.h: zend_language_parser.c
+zend_language_parser.c: $(srcdir)/zend_language_parser.y
+ $(YACC) -p zend -v -d $(srcdir)/zend_language_parser.y -o zend_language_parser.c
depend:
View
60 Zend/Zend.dsp
@@ -107,11 +107,11 @@ LIB32=link.exe -lib
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
-SOURCE=".\zend-parser.c"
+SOURCE=".\zend_language_parser.c"
# End Source File
# Begin Source File
-SOURCE=".\zend-scanner.c"
+SOURCE=".\zend_language_scanner.c"
# End Source File
# Begin Source File
@@ -211,11 +211,11 @@ SOURCE=.\modules.h
# End Source File
# Begin Source File
-SOURCE=".\zend-parser.h"
+SOURCE=".\zend_language_parser.h"
# End Source File
# Begin Source File
-SOURCE=".\zend-scanner.h"
+SOURCE=".\zend_language_scanner.h"
# End Source File
# Begin Source File
@@ -311,23 +311,23 @@ SOURCE=.\zend_variables.h
# PROP Default_Filter "y"
# Begin Source File
-SOURCE=".\zend-parser.y"
+SOURCE=".\zend_language_parser.y"
!IF "$(CFG)" == "Zend - Win32 Release"
# Begin Custom Build
InputDir=.
-InputPath=".\zend-parser.y"
+InputPath=".\zend_language_parser.y"
BuildCmds= \
- if not "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend-parser.y \
- if "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend-parser.y \
+ if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y \
+ if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y \
-"$(InputDir)\zend-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
-"$(InputDir)\zend-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
@@ -335,17 +335,17 @@ BuildCmds= \
# Begin Custom Build
InputDir=.
-InputPath=".\zend-parser.y"
+InputPath=".\zend_language_parser.y"
BuildCmds= \
- if not "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend-parser.y \
- if "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend-parser.y \
+ if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y \
+ if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y \
-"$(InputDir)\zend-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
-"$(InputDir)\zend-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
@@ -353,17 +353,17 @@ BuildCmds= \
# Begin Custom Build
InputDir=.
-InputPath=".\zend-parser.y"
+InputPath=".\zend_language_parser.y"
BuildCmds= \
- if not "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend-parser.y \
- if "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend-parser.y \
+ if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y \
+ if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y \
-"$(InputDir)\zend-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
-"$(InputDir)\zend-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
@@ -376,35 +376,35 @@ BuildCmds= \
# PROP Default_Filter "l"
# Begin Source File
-SOURCE=".\zend-scanner.l"
+SOURCE=".\zend_language_scanner.l"
!IF "$(CFG)" == "Zend - Win32 Release"
# Begin Custom Build
-InputPath=".\zend-scanner.l"
+InputPath=".\zend_language_scanner.l"
-"zend-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- flex -i -Pzend -ozend-scanner.c zend-scanner.l
+"zend_language_scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -i -Pzend -ozend_language_scanner.c zend_language_scanner.l
# End Custom Build
!ELSEIF "$(CFG)" == "Zend - Win32 Debug"
# Begin Custom Build
-InputPath=".\zend-scanner.l"
+InputPath=".\zend_language_scanner.l"
-"zend-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- flex -i -Pzend -ozend-scanner.c zend-scanner.l
+"zend_language_scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -i -Pzend -ozend_language_scanner.c zend_language_scanner.l
# End Custom Build
!ELSEIF "$(CFG)" == "Zend - Win32 Release_inline"
# Begin Custom Build
-InputPath=".\zend-scanner.l"
+InputPath=".\zend_language_scanner.l"
-"zend-scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- flex -i -Pzend -ozend-scanner.c zend-scanner.l
+"zend_language_scanner.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -i -Pzend -ozend_language_scanner.c zend_language_scanner.l
# End Custom Build
View
2  Zend/ZendCore.dep
@@ -86,7 +86,7 @@
".\zend_llist.h"\
".\zend_ptr_stack.h"\
".\zend_stack.h"\
- ".\zend-parser.tab.h"\
+ ".\zend_language_parser.tab.h"\
".\zend.h"\
".\zend_errors.h"\
".\zend_globals.h"\
View
60 Zend/ZendTS.dsp
@@ -107,11 +107,11 @@ LIB32=link.exe -lib
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
-SOURCE=".\zend-parser.c"
+SOURCE=".\zend_language_parser.c"
# End Source File
# Begin Source File
-SOURCE=".\zend-scanner.cpp"
+SOURCE=".\zend_language_scanner.cpp"
# End Source File
# Begin Source File
@@ -215,11 +215,11 @@ SOURCE=.\modules.h
# End Source File
# Begin Source File
-SOURCE=".\zend-parser.h"
+SOURCE=".\zend_language_parser.h"
# End Source File
# Begin Source File
-SOURCE=".\zend-scanner.h"
+SOURCE=".\zend_language_scanner.h"
# End Source File
# Begin Source File
@@ -327,23 +327,23 @@ SOURCE=.\zend_variables.h
# PROP Default_Filter "y"
# Begin Source File
-SOURCE=".\zend-parser.y"
+SOURCE=".\zend_language_parser.y"
!IF "$(CFG)" == "ZendTS - Win32 Release_TS"
# Begin Custom Build
InputDir=.
-InputPath=".\zend-parser.y"
+InputPath=".\zend_language_parser.y"
BuildCmds= \
- if not "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend-parser.y \
- if "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend-parser.y \
+ if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y \
+ if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y \
-"$(InputDir)\zend-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
-"$(InputDir)\zend-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
@@ -351,17 +351,17 @@ BuildCmds= \
# Begin Custom Build
InputDir=.
-InputPath=".\zend-parser.y"
+InputPath=".\zend_language_parser.y"
BuildCmds= \
- if not "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend-parser.y \
- if "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend-parser.y \
+ if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y \
+ if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y \
-"$(InputDir)\zend-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
-"$(InputDir)\zend-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
@@ -369,17 +369,17 @@ BuildCmds= \
# Begin Custom Build
InputDir=.
-InputPath=".\zend-parser.y"
+InputPath=".\zend_language_parser.y"
BuildCmds= \
- if not "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend-parser.y \
- if "X%CYGWIN%"=="X" bison --output=zend-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend-parser.y \
+ if not "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y \
+ if "X%CYGWIN%"=="X" bison --output=zend_language_parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p zend zend_language_parser.y \
-"$(InputDir)\zend-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
-"$(InputDir)\zend-parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+"$(InputDir)\zend_language_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
@@ -392,35 +392,35 @@ BuildCmds= \
# PROP Default_Filter "l"
# Begin Source File
-SOURCE=".\zend-scanner.l"
+SOURCE=".\zend_language_scanner.l"
!IF "$(CFG)" == "ZendTS - Win32 Release_TS"
# Begin Custom Build
-InputPath=".\zend-scanner.l"
+InputPath=".\zend_language_scanner.l"
-"zend-scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- flex -+ -B -i -Sflex.skl -Pzend -ozend-scanner.cpp zend-scanner.l
+"zend_language_scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -+ -B -i -Sflex.skl -Pzend -ozend_language_scanner.cpp zend_language_scanner.l
# End Custom Build
!ELSEIF "$(CFG)" == "ZendTS - Win32 Debug_TS"
# Begin Custom Build
-InputPath=".\zend-scanner.l"
+InputPath=".\zend_language_scanner.l"
-"zend-scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- flex -+ -B -i -Sflex.skl -Pzend -ozend-scanner.cpp zend-scanner.l
+"zend_language_scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -+ -B -i -Sflex.skl -Pzend -ozend_language_scanner.cpp zend_language_scanner.l
# End Custom Build
!ELSEIF "$(CFG)" == "ZendTS - Win32 Release_TS_inline"
# Begin Custom Build
-InputPath=".\zend-scanner.l"
+InputPath=".\zend_language_scanner.l"
-"zend-scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- flex -+ -B -i -Sflex.skl -Pzend -ozend-scanner.cpp zend-scanner.l
+"zend_language_scanner.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ flex -+ -B -i -Sflex.skl -Pzend -ozend_language_scanner.cpp zend_language_scanner.l
# End Custom Build
View
2  Zend/zend_compile.c
@@ -18,7 +18,7 @@
*/
-#include "zend-parser.h"
+#include "zend_language_parser.h"
#include "zend.h"
#include "zend_compile.h"
#include "zend_llist.h"
View
2  Zend/zend_compile.h
@@ -374,7 +374,7 @@ ZEND_API void function_add_ref(zend_function *function);
#define INITIAL_OP_ARRAY_SIZE 64
-/* helper functions in zend-scanner.l */
+/* helper functions in zend_language_scanner.l */
ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type CLS_DC);
ZEND_API zend_op_array *compile_string(zval *source_string, char *filename CLS_DC);
ZEND_API zend_op_array *compile_filename(int type, zval *filename CLS_DC ELS_DC);
View
2  Zend/zend_highlight.c
@@ -19,7 +19,7 @@
#include "zend.h"
-#include "zend-parser.h"
+#include "zend_language_parser.h"
#include "zend_compile.h"
#include "zend_highlight.h"
#include "zend_ptr_stack.h"
View
2  Zend/zend_indent.c
@@ -22,7 +22,7 @@
#include "zend.h"
-#include "zend-parser.h"
+#include "zend_language_parser.h"
#include "zend_compile.h"
#include "zend_indent.h"
View
0  Zend/zend-parser.y → Zend/zend_language_parser.y
File renamed without changes
View
0  Zend/zend-scanner.h → Zend/zend_language_scanner.h
File renamed without changes
View
4 Zend/zend-scanner.l → Zend/zend_language_scanner.l
@@ -40,9 +40,9 @@
#include <errno.h>
#include "zend.h"
#include "zend_alloc.h"
-#include "zend-parser.h"
+#include "zend_language_parser.h"
#include "zend_compile.h"
-#include "zend-scanner.h"
+#include "zend_language_scanner.h"
#include "zend_highlight.h"
#include "zend_constants.h"
#include "zend_variables.h"
Please sign in to comment.
Something went wrong with that request. Please try again.