jserr.gen 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // String Table
  8. //
  9. STRINGTABLE DISCARDABLE
  10. BEGIN
  11. #include <rterrors_limits.h>
  12. #define RT_ERROR_MSG(name, errnum, str1, str2, jst, errorNumSource) errnum str2
  13. #define RT_PUBLICERROR_MSG(name, errnum, str1, str2, jst, errorNumSource) errnum+RTERROR_PUBLIC_RESOURCEOFFSET str2
  14. #include <rterrors.h>
  15. #undef RT_PUBLICERROR_MSG
  16. #undef RT_ERROR_MSG
  17. #define RT_ERROR_MSG(name, errnum, str1, str2, jst, errorNumSource) errnum+RTERROR_STRINGFORMAT_OFFSET str1
  18. #define RT_PUBLICERROR_MSG(name, errnum, str1, str2, jst, errorNumSource) errnum+RTERROR_STRINGFORMAT_OFFSET+RTERROR_PUBLIC_RESOURCEOFFSET str1
  19. #include <rterrors.h>
  20. #undef RT_PUBLICERROR_MSG
  21. #undef RT_ERROR_MSG
  22. #define LSC_ERROR_MSG(errnum, name, str) errnum str
  23. #include <perrors.h>
  24. #undef LSC_ERROR_MSG
  25. IDS_COMPILATION_ERROR_SOURCE "JavaScript compilation error"
  26. IDS_RUNTIME_ERROR_SOURCE "JavaScript runtime error"
  27. IDS_UNKNOWN_RUNTIME_ERROR "Unknown runtime error"
  28. IDS_INFINITY "Infinity"
  29. IDS_MINUSINFINITY "-Infinity"
  30. END