Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inlcude 回溯目录没有正确处理绝对路径 #9

Closed
LoRexxar opened this issue Dec 4, 2017 · 3 comments
Closed

inlcude 回溯目录没有正确处理绝对路径 #9

LoRexxar opened this issue Dec 4, 2017 · 3 comments
Labels

Comments

@LoRexxar
Copy link
Owner

LoRexxar commented Dec 4, 2017

include_once(G5_ADMIN_PATH.'/admin.head.php');

对于这样的常量配合的绝对路径没有正确处理。

相关代码于parser.py line 630

@LoRexxar LoRexxar added the bug label Dec 4, 2017
@LoRexxar
Copy link
Owner Author

LoRexxar commented Dec 7, 2017

开发分支的commit,部分程度修复了该问题。

ps:至少暂时不会报错了

@LoRexxar
Copy link
Owner Author

LoRexxar commented Dec 8, 2017

目前的解决方案仍然不能解决include中为变量的问题,是不是应该直接进parameters_back来解决这个问题呢?

@LoRexxar LoRexxar mentioned this issue Apr 12, 2019
@LoRexxar
Copy link
Owner Author

重新思考,如果在扫描之前获取一遍define是不是一个合理的解决办法,生成全局的全局变量表,代价有多大

LoRexxar added a commit that referenced this issue Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant