mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
Update documentation
This commit is contained in:
parent
d5d38e94ef
commit
b30c3ff8d4
1 changed files with 6 additions and 1 deletions
|
@ -326,6 +326,11 @@ When passing variadic parameters via
|
||||||
it can happen that incompatible types are passed to functions. This
|
it can happen that incompatible types are passed to functions. This
|
||||||
enables several warnings when static typechecking cannot guarantee
|
enables several warnings when static typechecking cannot guarantee
|
||||||
consistent behavior.
|
consistent behavior.
|
||||||
|
.It Fl W Ns Cm breakdef
|
||||||
|
When compiling original id1 QC, there is a definition for `break`
|
||||||
|
which conflicts with the 'break' keyword in GMQCC. Enabling this
|
||||||
|
warning will print a warning when the definition occurs. The
|
||||||
|
definition is ignored for both cases.
|
||||||
.El
|
.El
|
||||||
.Sh COMPILE FLAGS
|
.Sh COMPILE FLAGS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
|
@ -574,7 +579,7 @@ string being added.
|
||||||
.Pp
|
.Pp
|
||||||
For example the following code will only generate 1 string:
|
For example the following code will only generate 1 string:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
print("Hell you!\\n");
|
print("Hello you!\\n");
|
||||||
print("you!\\n"); // trailing substring of "Hello you!\\n"
|
print("you!\\n"); // trailing substring of "Hello you!\\n"
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
|
Loading…
Reference in a new issue