mirror of
https://github.com/php/php-src.git
synced 2025-01-27 06:03:45 +08:00
Ok, I tested it now. It works very nicely!
This commit is contained in:
parent
465c94ce18
commit
c5d8c389a5
@ -70,6 +70,7 @@
|
||||
# define MY_INPUT input
|
||||
#endif
|
||||
|
||||
#define YY_FATAL_ERROR zend_fatal_scanner_error
|
||||
|
||||
#define HANDLE_NEWLINES(s,l) \
|
||||
do { \
|
||||
@ -90,6 +91,12 @@ do { \
|
||||
}
|
||||
|
||||
|
||||
|
||||
void zend_fatal_scanner_error(char *message)
|
||||
{
|
||||
zend_error(E_COMPILE_ERROR, message);
|
||||
}
|
||||
|
||||
BEGIN_EXTERN_C()
|
||||
void startup_scanner(CLS_D)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user