You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/parser/CompileError.xtable
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,10 @@ X( BadAutoType, S, A, E, VOID, VOID, "'auto' must have an initializer with val
126
126
X( GroupAuto, S, A, E, VOID, VOID, "'auto' cannot apply to a group declaration." )
127
127
X( BadReturnType, S, A, E, STR, VOID, "Cannot return type '%s'." )
128
128
X( BadTempVal, T, A, E, VOID, VOID, "Temporary literals cannot be stored!" )
129
-
129
+
X( MissingReturnWarn, S, A, W, STR, VOID, "Function '%s' is not void, and should return a value!" )
130
+
X( MissingReturnError, S, A, E, STR, VOID, "Function '%s' is not void, and must return a value!" )
131
+
X( NegSqrt, T, A, E, VOID, VOID, "Attempting to take the square root of a negative number!" )
132
+
X( DeprecatedDelete, G, A, W, VOID, VOID, "The 'delete' operator no longer does anything. Objects are freed automatically when they become unreachable" )
133
+
X( ReadOnly, C, A, W, STR, VOID, "'%s' is read-only, and cannot be written to!" )
0 commit comments