summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/troff
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/groff/troff')
-rw-r--r--gnu/usr.bin/groff/troff/charinfo.h2
-rw-r--r--gnu/usr.bin/groff/troff/env.h8
-rw-r--r--gnu/usr.bin/groff/troff/token.h10
3 files changed, 10 insertions, 10 deletions
diff --git a/gnu/usr.bin/groff/troff/charinfo.h b/gnu/usr.bin/groff/troff/charinfo.h
index 38e9e8f..3dc131b 100644
--- a/gnu/usr.bin/groff/troff/charinfo.h
+++ b/gnu/usr.bin/groff/troff/charinfo.h
@@ -34,7 +34,7 @@ class charinfo {
char transparent_translate; // non-zero means translation applies to
// to transparent throughput
public:
- enum {
+ enum {
ENDS_SENTENCE = 1,
BREAK_BEFORE = 2,
BREAK_AFTER = 4,
diff --git a/gnu/usr.bin/groff/troff/env.h b/gnu/usr.bin/groff/troff/env.h
index 14441e1..40ce6b8 100644
--- a/gnu/usr.bin/groff/troff/env.h
+++ b/gnu/usr.bin/groff/troff/env.h
@@ -199,7 +199,7 @@ public:
unsigned char control_char;
unsigned char no_break_control_char;
charinfo *hyphen_indicator_char;
-
+
environment(symbol);
environment(const environment *); // for temporary environment
~environment();
@@ -231,7 +231,7 @@ public:
hunits get_prev_char_skew();
vunits get_prev_char_height();
vunits get_prev_char_depth();
- hunits get_text_length(); // .k
+ hunits get_text_length(); // .k
hunits get_prev_text_length(); // .n
hunits get_space_width() { return env_space_width(this); }
int get_space_size() { return space_size; } // in ems/36
@@ -277,7 +277,7 @@ public:
const char *get_point_size_string();
const char *get_requested_point_size_string();
void output_pending_lines();
-
+
friend void title_length();
friend void space_size();
friend void fill();
@@ -314,7 +314,7 @@ public:
friend void widow_control_request();
#endif /* WIDOW_CONTROL */
};
-
+
extern environment *curenv;
extern void pop_env();
extern void push_env(int);
diff --git a/gnu/usr.bin/groff/troff/token.h b/gnu/usr.bin/groff/troff/token.h
index f8a319a..2c160e5 100644
--- a/gnu/usr.bin/groff/troff/token.h
+++ b/gnu/usr.bin/groff/troff/token.h
@@ -51,7 +51,7 @@ class token {
TOKEN_RIGHT_BRACE,
TOKEN_SPACE, // ` ' -- ordinary space
TOKEN_SPECIAL, // a special character -- \' \` \- \(xx
- TOKEN_SPREAD, // \p -- break and spread output line
+ TOKEN_SPREAD, // \p -- break and spread output line
TOKEN_TAB, // tab
TOKEN_TRANSPARENT, // \!
TOKEN_EOF // end of file
@@ -114,12 +114,12 @@ void interpolate_number_reg(symbol, int);
const char *asciify(int c);
inline int token::newline()
-{
- return type == TOKEN_NEWLINE;
+{
+ return type == TOKEN_NEWLINE;
}
inline int token::space()
-{
+{
return type == TOKEN_SPACE;
}
@@ -149,7 +149,7 @@ inline int token::page_ejector()
inline unsigned char token::ch()
{
return type == TOKEN_CHAR ? c : 0;
-}
+}
inline int token::eof()
{
OpenPOWER on IntegriCloud