Refactor error ID checker script

This commit is contained in:
a3d4
2020-06-03 02:43:20 +02:00
parent 0a71e41501
commit 3bf236cf81
3 changed files with 24 additions and 19 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ struct InvalidAstError: virtual util::Exception {};
* They are passed as the first parameter of error reporting functions.
* Suffix _error helps to find them in the sources.
* The struct ErrorId prevents incidental calls like typeError(3141) instead of typeError(3141_error).
* To create a new ID, one can add 0000_error and then run "python ./scripts/correct_error_ids.py"
* To create a new ID, one can add 0000_error and then run "python ./scripts/fix_error_ids.py"
* from the root of the repo.
*/
struct ErrorId { unsigned long long error = 0; };