Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ php_test_results_*

# Parser files
/parser/lemon
/parser/parser.c
/parser/scanner.c
/parser/zephir.c
/parser/zephir.h
/parser/zephir.out
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- Fixed underscore only identifiers to allow more than 4 characters

## [1.3.1] - 2019-05-01
### Fixed
- Fixed `config.m4` to correct install headers
Expand Down
8 changes: 7 additions & 1 deletion parser.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ clean: parser-clean tests-clean
.PHONY: parser-clean
parser-clean:
find . -name \*.loT -o -name \*.out | xargs rm -f
find ./parser -name zephir.c -o -name zephir.h | xargs rm -f
find ./parser \
-name zephir.c \
-o -name zephir.h \
-o -name scanner.c \
-o -name parser.c | xargs rm -f


.PHONY: tests-clean
tests-clean:
Expand All @@ -41,6 +46,7 @@ $(srcdir)/parser/lemon: $(srcdir)/parser/lemon.c
$(srcdir)/parser/parser.c: $(srcdir)/parser/zephir.c $(srcdir)/parser/base.c
@echo "#include <php.h>" > $@
cat $< >> $@
echo "#line 1 \"parser/base.c\"" >> $@
cat $(top_srcdir)/parser/base.c >> $@
$(SED) s/"#line \([[:digit:]]\+\) \(.*\)\/\(parser\/\)\(.*\)\""/"#line \1 \"\3\4\""/g $@ > [email protected] && mv -f [email protected] $@

Expand Down
9,489 changes: 0 additions & 9,489 deletions parser/parser.c

This file was deleted.

Loading