]> git.sur5r.net Git - cc65/blobdiff - src/ca65/objfile.c
Changed most "backticks" (grave accents) into apostrophes.
[cc65] / src / ca65 / objfile.c
index c0e08996ffdcfcf43f16304b44864a773cf5f559..b475d15dfcd33ceabe5f8ed86cd8f490364fd2cb 100644 (file)
@@ -100,8 +100,8 @@ static ObjHeader Header = {
 
 static void ObjWriteError (void)
 /* Called on a write error. Will try to close and remove the file, then
- * print a fatal error.
- */
+** print a fatal error.
+*/
 {
     /* Remember the error */
     int Error = errno;
@@ -113,7 +113,7 @@ static void ObjWriteError (void)
     remove (OutFile);
 
     /* Now abort with a fatal error */
-    Fatal ("Cannot write to output file `%s': %s", OutFile, strerror (Error));
+    Fatal ("Cannot write to output file '%s': %s", OutFile, strerror (Error));
 }
 
 
@@ -162,15 +162,15 @@ void ObjOpen (void)
     /* Do we have a name for the output file? */
     if (OutFile == 0) {
         /* We don't have an output name explicitly given, construct one from
-         * the name of the input file.
-         */
+        ** the name of the input file.
+        */
         OutFile = MakeFilename (InFile, OBJ_EXT);
     }
 
     /* Create the output file */
     F = fopen (OutFile, "w+b");
     if (F == 0) {
-        Fatal ("Cannot open output file `%s': %s", OutFile, strerror (errno));
+        Fatal ("Cannot open output file '%s': %s", OutFile, strerror (errno));
     }
 
     /* Write a dummy header */
@@ -269,10 +269,10 @@ void ObjWriteVar (unsigned long V)
 /* Write a variable sized value to the file in special encoding */
 {
     /* We will write the value to the file in 7 bit chunks. If the 8th bit
-     * is clear, we're done, if it is set, another chunk follows. This will
-     * allow us to encode smaller values with less bytes, at the expense of
-     * needing 5 bytes if a 32 bit value is written to file.
-     */
+    ** is clear, we're done, if it is set, another chunk follows. This will
+    ** allow us to encode smaller values with less bytes, at the expense of
+    ** needing 5 bytes if a 32 bit value is written to file.
+    */
     do {
         unsigned char C = (V & 0x7F);
         V >>= 7;
@@ -291,9 +291,9 @@ void ObjWriteStr (const char* S)
     unsigned Len = strlen (S);
 
     /* Write the string with the length preceeded (this is easier for
-     * the reading routine than the C format since the length is known in
-     * advance).
-     */
+    ** the reading routine than the C format since the length is known in
+    ** advance).
+    */
     ObjWriteVar (Len);
     ObjWriteData (S, Len);
 }
@@ -304,9 +304,9 @@ void ObjWriteBuf (const StrBuf* S)
 /* Write a string to the object file */
 {
     /* Write the string with the length preceeded (this is easier for
-     * the reading routine than the C format since the length is known in
-     * advance).
-     */
+    ** the reading routine than the C format since the length is known in
+    ** advance).
+    */
     ObjWriteVar (SB_GetLen (S));
     ObjWriteData (SB_GetConstBuf (S), SB_GetLen (S));
 }