History

- document -dumpversion - fixed a broken prototype

Urs Janssen committed 13 years ago

Commit cec76c81 parent 108b2874 files · +6 −3Browse files

Unified · Split

4 files
  1. lib/libtcc1.c +1 −1
  2. tcc-doc.texi +3 −0
  3. tcc.h +1 −1
  4. tccpp.c +1 −1
lib/libtcc1.c+1−1
@@ -162,7 +162,7 @@ static UDWtype __udivmoddi4 (UDWtype n, UDWtype d, UDWtype *rp) · 161 unmodified lines
162 n0 = nn.s.low;162 n0 = nn.s.low;
163 n1 = nn.s.high;163 n1 = nn.s.high;
164 164
165#if !UDIV_NEEDS_NORMALIZATION165#if !defined(UDIV_NEEDS_NORMALIZATION)
166 if (d1 == 0)166 if (d1 == 0)
167 {167 {
168 if (d0 > n1)168 if (d0 > n1)
tcc-doc.texi+3−0
@@ -176,6 +176,9 @@ In a script, it gives the following header: · 175 unmodified lines
176#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11176#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
177@end example177@end example
178 178
179@item -dumpversion
180Print only the compiler version and nothing else.
181
179@item -v182@item -v
180Display TCC version.183Display TCC version.
181 184
tcc.h+1−1
@@ -1105,7 +1105,7 @@ ST_FUNC void next_nomacro(void); · 1104 unmodified lines
1105ST_FUNC void next(void);1105ST_FUNC void next(void);
1106ST_INLN void unget_tok(int last_tok);1106ST_INLN void unget_tok(int last_tok);
1107ST_FUNC void preprocess_init(TCCState *s1);1107ST_FUNC void preprocess_init(TCCState *s1);
1108ST_FUNC void preprocess_new();1108ST_FUNC void preprocess_new(void);
1109ST_FUNC int tcc_preprocess(TCCState *s1);1109ST_FUNC int tcc_preprocess(TCCState *s1);
1110ST_FUNC void skip(int c);1110ST_FUNC void skip(int c);
1111ST_FUNC void expect(const char *msg);1111ST_FUNC void expect(const char *msg);
tccpp.c+1−1
@@ -3042,7 +3042,7 @@ ST_FUNC void preprocess_init(TCCState *s1) · 3041 unmodified lines
3042 s1->pack_stack_ptr = s1->pack_stack;3042 s1->pack_stack_ptr = s1->pack_stack;
3043}3043}
3044 3044
3045ST_FUNC void preprocess_new()3045ST_FUNC void preprocess_new(void)
3046{3046{
3047 int i, c;3047 int i, c;
3048 const char *p, *r;3048 const char *p, *r;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t