Changed multi-line C comments into another style.

The left side doesn't look unbalanced.
This commit is contained in:
Greg King
2014-06-30 05:10:35 -04:00
parent 132d57f1ad
commit 0390c34e88
502 changed files with 8869 additions and 8884 deletions

View File

@@ -114,9 +114,9 @@ static const char* LabelPlusOffs (const char* Label, long Offs)
static const char* RelocExpr (const O65Data* D, unsigned char SegID,
unsigned long Val, const O65Reloc* R)
/* Generate the segment relative relocation expression. R is only used if the
* expression contains am import, and may be NULL if this is an error (which
* is then flagged).
*/
** expression contains am import, and may be NULL if this is an error (which
** is then flagged).
*/
{
const O65Import* Import;
@@ -346,10 +346,10 @@ static void ConvertZeropageSeg (FILE* F, const O65Data* D)
if (Model == O65_MODEL_CC65_MODULE) {
/* o65 files of type cc65-module are linked together with a definition
* file for the zero page, but the zero page is not allocated in the
* module itself, but the locations are mapped to the zp locations of
* the main file.
*/
** file for the zero page, but the zero page is not allocated in the
** module itself, but the locations are mapped to the zp locations of
** the main file.
*/
fprintf (F, ".import\t__ZP_START__\t\t; Linker generated symbol\n");
fprintf (F, "%s = __ZP_START__\n", ZeropageLabel);
} else {
@@ -372,8 +372,8 @@ void Convert (const O65Data* D)
char* Author = 0;
/* For now, we do only accept o65 files generated by the ld65 linker which
* have a specific format.
*/
** have a specific format.
*/
if (!Debug && D->Header.mode != O65_MODE_CC65) {
Error ("Cannot convert o65 files of this type");
}
@@ -382,9 +382,9 @@ void Convert (const O65Data* D)
PrintO65Stats (D);
/* Walk through the options and print them if verbose mode is enabled.
* Check for a os=cc65 option and bail out if we didn't find one (for
* now - later we switch to special handling).
*/
** Check for a os=cc65 option and bail out if we didn't find one (for
** now - later we switch to special handling).
*/
for (I = 0; I < CollCount (&D->Options); ++I) {
/* Get the next option */

View File

@@ -7,7 +7,7 @@
/* */
/* */
/* (C) 2003 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
@@ -80,8 +80,8 @@ const char* GetModelName (O65Model M)
O65Model FindModel (const char* ModelName)
/* Map a model name to its identifier. Return O65_MODEL_INVALID if the name
* could not be found. Case is ignored when comparing names.
*/
** could not be found. Case is ignored when comparing names.
*/
{
O65Model M;
for (M = O65_MODEL_NONE; M < O65_MODEL_COUNT; ++M) {

View File

@@ -7,7 +7,7 @@
/* */
/* */
/* (C) 2003 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
@@ -73,8 +73,8 @@ const char* GetModelName (O65Model M);
O65Model FindModel (const char* ModelName);
/* Map a model name to its identifier. Return O65_MODEL_INVALID if the name
* could not be found. Case is ignored when comparing names.
*/
** could not be found. Case is ignored when comparing names.
*/

View File

@@ -7,7 +7,7 @@
/* */
/* */
/* (C) 2002-2004 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
@@ -83,8 +83,8 @@ static O65Data* NewO65Data (void)
static unsigned long ReadO65Size (FILE* F, const O65Header* H)
/* Read a size variable (16 or 32 bit, depending on the mode word in the
* header) from the o65 file.
*/
** header) from the o65 file.
*/
{
unsigned long Size = 0; /* Initialize to avoid warnings */
switch (H->mode & O65_SIZE_MASK) {
@@ -99,8 +99,8 @@ static unsigned long ReadO65Size (FILE* F, const O65Header* H)
static void ReadO65Header (FILE* F, O65Header* H)
/* Read an o65 header from the given file. The function will call Error if
* something is wrong.
*/
** something is wrong.
*/
{
static const char Magic[3] = {
O65_MAGIC_0, O65_MAGIC_1, O65_MAGIC_2 /* "o65" */
@@ -145,9 +145,9 @@ static void ReadO65Header (FILE* F, O65Header* H)
static O65Option* ReadO65Option (FILE* F)
/* Read the next O65 option from the given file. The option is stored into a
* dynamically allocated O65Option struct which is returned. On end of options,
* NULL is returned. On error, Error is called which terminates the program.
*/
** dynamically allocated O65Option struct which is returned. On end of options,
** NULL is returned. On error, Error is called which terminates the program.
*/
{
O65Option* O;
@@ -304,8 +304,8 @@ static O65Export* ReadO65Export (FILE* F, const O65Header* H)
static O65Data* ReadO65Data (FILE* F)
/* Read a complete o65 file into dynamically allocated memory and return the
* created O65Data struct.
*/
** created O65Data struct.
*/
{
unsigned long Count;
O65Option* O;
@@ -353,8 +353,8 @@ static O65Data* ReadO65Data (FILE* F)
O65Data* ReadO65File (const char* Name)
/* Read a complete o65 file into dynamically allocated memory and return the
* created O65Data struct.
*/
** created O65Data struct.
*/
{
O65Data* D;
@@ -391,9 +391,9 @@ const char* GetO65OSName (unsigned char OS)
const char* GetO65OptionText (const O65Option* O)
/* Return the data of the given option as a readable text. The function returns
* a pointer to a static buffer that is reused on the next call, so if in doubt,
* make a copy (and no, the function is not thread safe).
*/
** a pointer to a static buffer that is reused on the next call, so if in doubt,
** make a copy (and no, the function is not thread safe).
*/
{
static char Buf[256];
unsigned I, J;

View File

@@ -7,7 +7,7 @@
/* */
/* */
/* (C) 2002-2003 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
@@ -34,12 +34,12 @@
/* This files exports structures and constants to handle the o65 relocatable
* file format as defined by Andre Fachat. See the original document under
*
* http://www.6502.org/users/andre/o65/fileformat.html
*
* for more information.
*/
** file format as defined by Andre Fachat. See the original document under
**
** http://www.6502.org/users/andre/o65/fileformat.html
**
** for more information.
*/
@@ -215,17 +215,17 @@ struct O65Data {
O65Data* ReadO65File (const char* Name);
/* Read a complete o65 file into dynamically allocated memory and return the
* created O65Data struct.
*/
** created O65Data struct.
*/
const char* GetO65OSName (unsigned char OS);
/* Return the name of the operating system given by OS */
const char* GetO65OptionText (const O65Option* O);
/* Return the data of the given option as a readable text. The function returns
* a pointer to a static buffer that is reused on the next call, so if in doubt,
* make a copy (and no, the function is not thread safe).
*/
** a pointer to a static buffer that is reused on the next call, so if in doubt,
** make a copy (and no, the function is not thread safe).
*/