-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QSlangDriver: Enhance File Parsing and Path Handling
- Implemented contentCleanComment to remove single and multiline comments, normalizing line endings for cross-platform consistency. - Added contentRelativeToAbsolute to convert relative paths in content to absolute paths, leveraging QDir for path resolution. - Modified parseFileList to integrate new content cleaning and path conversion functions, improving handling of file list content. - Adjusted includes in qslangdriver.h to support new functions, ensuring proper compilation and functionality. - Streamlined file parsing logic in parseFileList, enhancing readability and maintainability of the code. These updates significantly improve file parsing capabilities and path handling in QSlangDriver, aligning with cross-platform standards. Signed-off-by: Huang Rui <vowstar@gmail.com>
- Loading branch information
Showing
2 changed files
with
65 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters