Merge pull request #9085 from a3d4/refactor-error-ids-script

Refactor error ID checker script
This commit is contained in:
chriseth
2020-06-03 11:12:42 +02:00
committed by GitHub
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; };