-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Googletests and fixes for 'preprocessor.cpp'
- Include 'string.h' instead of 'string' - Delete external 'currentline' declaration, is already in 'cc_common'' - Introduce static buffer for script name for use in 'cc_error()' - Set 'currentline' and 'ccCurScriptName' before 'cc_error()' is called, and _only_ there - Use 'String::FromFormat()' for formatting the error messages Googletests: - Add external reference to 'ccCurScriptName' - Add googletests for multiple scripts in one file; unterminated strings - Add conversion to shut up 'signed/unsigned' warning
- Loading branch information
1 parent
7469daf
commit 3eff26a
Showing
5 changed files
with
96 additions
and
14 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
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
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