mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-24 19:51:29 +02:00
Replace CPP style comments with C style comments
This commit is contained in:
parent
cd134cbb2f
commit
f9193eb4b3
@ -111,7 +111,7 @@ static void usage (FILE *st)
|
|||||||
fprintf (st, " -l list available box designs w/ samples\n");
|
fprintf (st, " -l list available box designs w/ samples\n");
|
||||||
fprintf (st, " -m mend box, i.e. remove it and redraw it afterwards\n");
|
fprintf (st, " -m mend box, i.e. remove it and redraw it afterwards\n");
|
||||||
fprintf (st, " -p fmt padding [default: none]\n");
|
fprintf (st, " -p fmt padding [default: none]\n");
|
||||||
//fprintf (st, " -q modify command for needs of the web UI (undocumented)\n");
|
/* fprintf (st, " -q modify command for needs of the web UI (undocumented)\n"); */
|
||||||
fprintf (st, " -r remove box\n");
|
fprintf (st, " -r remove box\n");
|
||||||
fprintf (st, " -s wxh box size (width w and/or height h)\n");
|
fprintf (st, " -s wxh box size (width w and/or height h)\n");
|
||||||
fprintf (st, " -t str tab stop distance and expansion [default: %de]\n", DEF_TABSTOP);
|
fprintf (st, " -t str tab stop distance and expansion [default: %de]\n", DEF_TABSTOP);
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Project-wide globals and data structures
|
/*
|
||||||
|
* Project-wide globals and data structures
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef BOXES_H
|
#ifndef BOXES_H
|
||||||
#define BOXES_H
|
#define BOXES_H
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Please compiler and ease porting
|
/*
|
||||||
|
* Please compiler and ease porting
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef CONFIG_H
|
#ifndef CONFIG_H
|
||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Box generation, i.e. the drawing of boxes
|
/*
|
||||||
|
* Box generation, i.e. the drawing of boxes
|
||||||
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Box generation, i.e. the drawing of boxes
|
/*
|
||||||
|
* Box generation, i.e. the drawing of boxes
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef GENERATE_H
|
#ifndef GENERATE_H
|
||||||
#define GENERATE_H
|
#define GENERATE_H
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Export symbols used by the parser files only
|
/*
|
||||||
|
* Export symbols used by the parser files only
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef LEXER_H
|
#ifndef LEXER_H
|
||||||
#define LEXER_H
|
#define LEXER_H
|
||||||
|
@ -19,7 +19,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// flex lexical analyzer for boxes configuration files
|
/*
|
||||||
|
* flex lexical analyzer for boxes configuration files
|
||||||
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -19,7 +19,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Yacc parser for boxes configuration files
|
/*
|
||||||
|
* Yacc parser for boxes configuration files
|
||||||
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
* Author: Henry Spencer.
|
* Author: Henry Spencer.
|
||||||
* Extensions and modifications by Thomas Jensen
|
* Extensions and modifications by Thomas Jensen
|
||||||
* Language: K&R C (traditional)
|
* Language: K&R C (traditional)
|
||||||
* Web Site: https://boxes.thomasjensen.com/
|
|
||||||
* Purpose: Perform substitutions after a regexp match
|
* Purpose: Perform substitutions after a regexp match
|
||||||
* License: - Not derived from licensed software.
|
* License: - Not derived from licensed software.
|
||||||
* - Permission is granted to anyone to use this
|
* - Permission is granted to anyone to use this
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Box removal, i.e. the deletion of boxes
|
/*
|
||||||
|
* Box removal, i.e. the deletion of boxes
|
||||||
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Box removal, i.e. the deletion of boxes
|
/*
|
||||||
|
* Box removal, i.e. the deletion of boxes
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef REMOVE_H
|
#ifndef REMOVE_H
|
||||||
#define REMOVE_H
|
#define REMOVE_H
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Shape handling and information functions
|
/*
|
||||||
|
* Shape handling and information functions
|
||||||
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Shape handling and information functions
|
/*
|
||||||
|
* Shape handling and information functions
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef SHAPE_H
|
#ifndef SHAPE_H
|
||||||
#define SHAPE_H
|
#define SHAPE_H
|
||||||
|
@ -18,7 +18,9 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Provide tool functions for error reporting and some string handling
|
/*
|
||||||
|
* Provide tool functions for error reporting and some string handling
|
||||||
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -18,8 +18,10 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Tool functions for error reporting and some string handling and other
|
/*
|
||||||
// needful things
|
* Tool functions for error reporting and some string handling and other
|
||||||
|
* needful things
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef TOOLS_H
|
#ifndef TOOLS_H
|
||||||
#define TOOLS_H
|
#define TOOLS_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user