branch: externals/phps-mode
commit 8e92fccb495cf513663c5bdb7d6c7c279292398d
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>

    Using PHP 8.3 grammar for parser generation
---
 phps-mode-automation-parser-generator.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/phps-mode-automation-parser-generator.el 
b/phps-mode-automation-parser-generator.el
index 82b5ebf916..1680d8d452 100644
--- a/phps-mode-automation-parser-generator.el
+++ b/phps-mode-automation-parser-generator.el
@@ -56,18 +56,18 @@
 (defun phps-mode-automation-parser-generator--ensure-yacc-grammar-is-available 
()
   "If grammar is not available, download it."
   (let ((php-yacc-url
-         
"https://raw.githubusercontent.com/php/php-src/PHP-8.2/Zend/zend_language_parser.y";)
+         
"https://raw.githubusercontent.com/php/php-src/PHP-8.3/Zend/zend_language_parser.y";)
         (php-yacc-file
          (expand-file-name "zend_language_parser.y")))
 
     ;; Download YACC if not available (seems to now work in batch mode for 
some reason)
     (unless (file-exists-p php-yacc-file)
       (message
-       ";; Downloading PHP 8.2 YACC grammar.. since %S does not exists" 
php-yacc-file)
+       ";; Downloading PHP 8.3 YACC grammar.. since %S does not exists" 
php-yacc-file)
       (with-current-buffer (url-retrieve-synchronously php-yacc-url)
         (write-file php-yacc-file))
       (message
-       ";; Download of PHP 8.2 YACC grammar completed"))
+       ";; Download of PHP 8.3 YACC grammar completed"))
 
     (unless (file-exists-p php-yacc-file)
       (error "Missing PHP YACC grammar at %s!" php-yacc-file))))

Reply via email to