Skip to content

Commit 14aec1b

Browse files
committed
doc: Update CompilerErrMsg and PrintToc pages
1 parent 97256bb commit 14aec1b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

doc/manual/cache/CompilerErrMsg.wakka

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ During the program compilation three types of errors can arise:
4242
- //35 Mixing signed/unsigned operands//
4343
- //36 Mismatching parameter initializer//
4444
- //37 //
45+
- //38 Mixing operand data types may have undefined results//
46+
- //39 Redefinition of intrinsic//
4547

4648
==Compiler Error messages:==
4749
The error messages stop the compilation after 10 errors (see the -maxerr command-line option to change that default value) or a fatal error occurred, and require a correction by the user before the compilation can be continued. The compiler signals the lines where the errors have been found, so the correction can be done quickly. In a few cases the place pointed at by the error messages is not where the errors can be found, it's the place where the compiler has given up in waiting for something that should be somewhere.
@@ -364,6 +366,10 @@ During the program compilation three types of errors can arise:
364366
- //316 Function result assignment outside of the function//
365367
- //317 Type mismatch in byref function result assignment//
366368
- //318 -asm att|intel option given, but not supported for this target (only x86 or x86_64)//
369+
- //319 Reference not initialized//
370+
- //320 Incompatible reference initializer//
371+
- //321 Array of references - not supported yet//
372+
- //322 Invalid CASE range, start value is greater than the end value//
367373

368374
==Third party programs errors==
369375
These errors occur after the source has been compiled into assembler, they come from the auxiliary programs FB requires to compile a source into an executable: the linker, the assembler and (for Windows programs) the resource compiler.

doc/manual/cache/PrintToc.wakka

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
[[KeyPgBitreset BITRESET]]
124124
[[KeyPgBitset BITSET]]
125125
[[KeyPgBload BLOAD]]
126+
[[KeyPgBoolean BOOLEAN]]
126127
[[KeyPgBsave BSAVE]]
127128
[[KeyPgByref BYREF (parameters)]]
128129
[[KeyPgByrefFunction BYREF (function results)]]
@@ -134,6 +135,7 @@
134135
[[KeyPgCallocate CALLOCATE]]
135136
[[KeyPgCase CASE]]
136137
[[KeyPgCast CAST]]
138+
[[KeyPgCbool CBOOL]]
137139
[[KeyPgCbyte CBYTE]]
138140
[[KeyPgCdbl CDBL]]
139141
[[KeyPgCdecl CDECL]]
@@ -250,6 +252,7 @@
250252
[[KeyPgExternBlock EXTERN...END EXTERN]]
251253

252254
{{fbdoc item="subsect" value="F"}}
255+
[[KeyPgFalse FALSE]]
253256
[[KeyPgField FIELD]]
254257
[[KeyPgFileattr FILEATTR]]
255258
[[KeyPgFilecopy FILECOPY]]
@@ -525,6 +528,7 @@
525528
[[KeyPgTo TO]]
526529
[[KeyPgTransGfx TRANS (Graphics PUT)]]
527530
[[KeyPgTrim TRIM]]
531+
[[KeyPgTrue TRUE]]
528532
[[KeyPgTypeAlias TYPE (Alias)]]
529533
[[KeyPgTypeTemp TYPE (Temporary)]]
530534
[[KeyPgType TYPE (UDT)]]
@@ -603,7 +607,7 @@
603607
[[CatPgCasting Converting Between Data Types]]
604608

605609
{{fbdoc item="subsect" value="Assignment operators"}}
606-
[[KeyPgOpAssignment Operator = (Assignment)]]
610+
{{fbdoc item="keyword" value="KeyPgOpAssignment|Operator =[>] (Assignment)"}}
607611
[[KeyPgOpCombineConcat Operator &= (Concatenate and Assign)]]
608612
[[KeyPgOpCombineAdd Operator += (Add and Assign)]]
609613
[[KeyPgOpCombineSub Operator -= (Subtract and Assign)]]

0 commit comments

Comments
 (0)