Browse Source

+ range checking for string literals

carl 23 years ago
parent
commit
0408465ff0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/msg/errore.msg

+ 3 - 0
compiler/msg/errore.msg

@@ -1116,6 +1116,9 @@ type_e_classes_not_related=04039_E_Class types "$1" and "$2" are not related
 type_w_classes_not_related=04040_W_Class types "$1" and "$2" are not related
 type_e_class_or_interface_type_expected=04041_E_Class or interface type expected, but got "$1"
 type_e_type_is_not_completly_defined=04042_E_Type "$1" is not completly defined
+type_w_string_too_long=04043_W_String literal has more characters than short string length
+% The size of the constant string, which is assigned to a shortstring,
+% is longer than the maximum size of the shortstring
 % \end{description}
 #
 # Symtable