Pārlūkot izejas kodu

Changed error message to match legacy compiler. Fixes #365.

woollybah 6 gadi atpakaļ
vecāks
revīzija
3eb2145085
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      parser.bmx

+ 1 - 1
parser.bmx

@@ -883,7 +883,7 @@ Type TParser Extends TGenProcessor
 			' for Strict code, void will be converted to Int during semanting.
 			ty=New TVoidType
 		Default
-			If _module.IsSuperStrict() Err "Illegal type expression."
+			If _module.IsSuperStrict() Err "Missing type specifier."
 			ty=New TIntType
 
 			While CParse("ptr")