You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All 4 files generated using smarty-lexer differs from those shipped in smarty repository. Steps to reproduce:
mkdir /tmp/smarty-test
cd /tmp/smarty-test
git clone https://github.com/smarty-php/smarty.git
git clone https://github.com/smarty-php/smarty-lexer.git
cd smarty-lexer/
php Create_Template_Parser.php
php Create_Config_Parser.php
#now compare .bak versions with newly generated version - for templateparser:
diff ../smarty/lexer/smarty_internal_templateparser.php.bak ../smarty/libs/sysplugins/smarty_internal_templateparser.php
#same for 3 other files
The text was updated successfully, but these errors were encountered:
I can confirm this. As far as I can tell, the differences are codestyle related, variable declarations being moved around et cetera. But I cannot find any smarty-lexer version that matches the existing version that is in smarty now. It seems Uwe used a newer version of smarty-lexer but did not push his local changes to github. Can you confirm this, @uwetews ?
All 4 files generated using smarty-lexer differs from those shipped in smarty repository. Steps to reproduce:
mkdir /tmp/smarty-test
cd /tmp/smarty-test
git clone https://github.com/smarty-php/smarty.git
git clone https://github.com/smarty-php/smarty-lexer.git
cd smarty-lexer/
php Create_Template_Parser.php
php Create_Config_Parser.php
#now compare .bak versions with newly generated version - for templateparser:
diff ../smarty/lexer/smarty_internal_templateparser.php.bak ../smarty/libs/sysplugins/smarty_internal_templateparser.php
#same for 3 other files
The text was updated successfully, but these errors were encountered: