1 |
|
|
2 |
//#define _CRT_SECURE_NO_WARNINGS |
//#define _CRT_SECURE_NO_WARNINGS |
3 |
//$Header$ |
//$Header$ |
4 |
//{43a387a9-4905-4f4c-8e90-506628d6cc11} |
//{7e1f1cd6-0150-45d7-9864-e784dbdf0fd8} |
5 |
//------------------------------------------------------------------------------------------------- |
//------------------------------------------------------------------------------------------------- |
6 |
//Copyright (c) 2018, David T. Ashley |
//Copyright (c) 2020, David T. Ashley |
7 |
// |
// |
8 |
//This file is part of "ets_ifsfscan", a program for identifying gross formatting anomalies in |
//This file is part of "emts_ifsfscan", a program for identifying gross formatting anomalies in |
9 |
//source files (Windows/ASCII text files only). |
//source files (Windows/ASCII text files only). |
10 |
// |
// |
11 |
//This source code and any program in which it is compiled/used is licensed under the MIT License, |
//This source code and any program in which it is compiled/used is licensed under the MIT License, |
16 |
//Software without restriction, including without limitation the rights to use, |
//Software without restriction, including without limitation the rights to use, |
17 |
//copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the |
//copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the |
18 |
//Software, and to permit persons to whom the Software is furnished to do so, |
//Software, and to permit persons to whom the Software is furnished to do so, |
19 |
//subject to the following conditions : |
//subject to the following conditions: |
20 |
// |
// |
21 |
//The above copyright notice and this permission notice shall be included in all |
//The above copyright notice and this permission notice shall be included in all |
22 |
//copies or substantial portions of the Software. |
//copies or substantial portions of the Software. |
47 |
//less than aesthetic). |
//less than aesthetic). |
48 |
const char * const license_preamble[] = |
const char * const license_preamble[] = |
49 |
{ |
{ |
50 |
"ets_ifsfscan, (c) 2018 David T. Ashley (dashley@gmail.com)", |
"ets_ifsfscan, (c) 2020 David T. Ashley (dashley@gmail.com)", |
51 |
"This program's source files, executable files, and all other related files", |
"This program's source files, executable files, and all other related files", |
52 |
"(such as Visual Studio project files) are licensed under \"The MIT License\",", |
"(such as Visual Studio project files) are licensed under \"The MIT License\",", |
53 |
"reproduced below." |
"reproduced below." |
76 |
|
|
77 |
const char * const prog_desc_text[] = |
const char * const prog_desc_text[] = |
78 |
{ |
{ |
79 |
"ets_ifsfscan (mnemonic: Ill-Formed Source File SCAN) is a program for", |
"emts_ifsfscan (mnemonic: Ill-Formed Source File SCAN) is a program for", |
80 |
"detecting gross formatting errors in source files (Windows/ASCII text", |
"detecting gross formatting errors in source files (Windows/ASCII text", |
81 |
"files only). The errors detected are non-ASCII characters, tab characters,", |
"files only). The errors detected are non-ASCII characters, tab characters,", |
82 |
"abnormal end-of-line characters, and trailing whitespace on lines." |
"abnormal end-of-line characters, and trailing whitespace on lines." |
181 |
"$Date$", |
"$Date$", |
182 |
"$Revision$", |
"$Revision$", |
183 |
"$Author$", |
"$Author$", |
184 |
"Project GUID: {f2e6f1b7-8fc5-4582-9cd7-c153febd11f7}", |
"Project GUID: {a644e117-ed10-4355-aab8-691077a3f3c7}", |
185 |
"c_main.c GUID: {43a387a9-4905-4f4c-8e90-506628d6cc11}", |
"c_main.c GUID: {7e1f1cd6-0150-45d7-9864-e784dbdf0fd8}", |
186 |
"ets_ifsfscan.cpp GUID: {1ea3115f-1f6d-4f0b-979b-ad92423db59a}", |
"emts_ifsfscan.cpp GUID: {22c05466-2a15-4726-88b9-880b1c044ded}", |
187 |
}; |
}; |
188 |
|
|
189 |
if (which < (sizeof(vcinfo) / sizeof(vcinfo[0]))) |
if (which < (sizeof(vcinfo) / sizeof(vcinfo[0]))) |