forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73ae395
committed
Build backend/parser/scan.l and interfaces/ecpg/preproc/pgc.l standalone.
Back-patch commit72b1e3a into the pre-9.6 branches.As noted in the original commit, this has some extra benefits: we cannarrow the scope of the -Wno-error flag that's forced on scan.c. Also,since these grammar and lexer files are so large, splitting them intoseparate build targets should have some advantages in build speed,particularly in parallel or ccache'd builds.However, the real reason for doing this now is that it avoids symbol-redefinition warnings (or worse) with the latest version of flex.It's not unreasonable that people would want to compile our old brancheswith recent tools. Per report from Дилян Палаузов.Discussion:https://postgr.es/m/d845c1af-e18d-6651-178f-9f08cdf37e10@aegee.org1 parent79e1a9e commit73ae395
6 files changed
+23
-34
lines changedLines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 | 23 |
| |
27 | 24 |
| |
28 |
| - | |
| 25 | + | |
29 | 26 |
| |
30 | 27 |
| |
31 | 28 |
| |
| |||
47 | 44 |
| |
48 | 45 |
| |
49 | 46 |
| |
50 |
| - | |
| 47 | + | |
51 | 48 |
| |
52 | 49 |
| |
53 | 50 |
| |
|
Lines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13848 | 13848 |
| |
13849 | 13849 |
| |
13850 | 13850 |
| |
13851 |
| - | |
13852 |
| - | |
13853 |
| - | |
13854 |
| - | |
13855 |
| - | |
13856 |
| - | |
13857 |
| - | |
13858 |
| - | |
13859 |
| - | |
13860 |
| - |
Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
37 | 38 |
| |
38 |
| - | |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 |
| - | |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 | 47 |
| |
51 | 48 |
| |
52 | 49 |
| |
53 | 50 |
| |
54 | 51 |
| |
55 | 52 |
| |
56 | 53 |
| |
57 |
| - | |
| 54 | + | |
58 | 55 |
| |
59 | 56 |
| |
60 | 57 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1912 | 1912 |
| |
1913 | 1913 |
| |
1914 | 1914 |
| |
1915 |
| - | |
1916 |
| - | |
1917 |
| - | |
1918 |
| - | |
1919 |
| - | |
1920 |
| - | |
1921 |
| - | |
1922 |
| - |
Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 |
| |
| 38 | + | |
27 | 39 |
| |
28 | 40 |
| |
29 | 41 |
| |
|
0 commit comments
Comments
(0)