mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
- document -dumpversion
- fixed a broken prototype
This commit is contained in:
@@ -162,7 +162,7 @@ static UDWtype __udivmoddi4 (UDWtype n, UDWtype d, UDWtype *rp)
|
|||||||
n0 = nn.s.low;
|
n0 = nn.s.low;
|
||||||
n1 = nn.s.high;
|
n1 = nn.s.high;
|
||||||
|
|
||||||
#if !UDIV_NEEDS_NORMALIZATION
|
#if !defined(UDIV_NEEDS_NORMALIZATION)
|
||||||
if (d1 == 0)
|
if (d1 == 0)
|
||||||
{
|
{
|
||||||
if (d0 > n1)
|
if (d0 > n1)
|
||||||
|
|||||||
@@ -176,6 +176,9 @@ In a script, it gives the following header:
|
|||||||
#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
|
#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
@item -dumpversion
|
||||||
|
Print only the compiler version and nothing else.
|
||||||
|
|
||||||
@item -v
|
@item -v
|
||||||
Display TCC version.
|
Display TCC version.
|
||||||
|
|
||||||
|
|||||||
2
tcc.h
2
tcc.h
@@ -1105,7 +1105,7 @@ ST_FUNC void next_nomacro(void);
|
|||||||
ST_FUNC void next(void);
|
ST_FUNC void next(void);
|
||||||
ST_INLN void unget_tok(int last_tok);
|
ST_INLN void unget_tok(int last_tok);
|
||||||
ST_FUNC void preprocess_init(TCCState *s1);
|
ST_FUNC void preprocess_init(TCCState *s1);
|
||||||
ST_FUNC void preprocess_new();
|
ST_FUNC void preprocess_new(void);
|
||||||
ST_FUNC int tcc_preprocess(TCCState *s1);
|
ST_FUNC int tcc_preprocess(TCCState *s1);
|
||||||
ST_FUNC void skip(int c);
|
ST_FUNC void skip(int c);
|
||||||
ST_FUNC void expect(const char *msg);
|
ST_FUNC void expect(const char *msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user