summaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-04-27 10:10:07 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-04-27 10:10:07 +0300
commitfa620d22a63f26f8098d7b4c4b835ad27c1b13a7 (patch)
tree75dc9ee66c3cac1c6a7796d404aee0f0836a106f /cmd.h
parented69ad69e9e4603fef71510cfef13d2a8b153ae0 (diff)
parent2ee1a96b398f3bd183a84509464770153a8890d4 (diff)
downloadgawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.tar.gz
Merge branch 'gawk-4.0-stable' (latest infrastructure).
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd.h b/cmd.h
index 8f8026ae..af6af8d8 100644
--- a/cmd.h
+++ b/cmd.h
@@ -42,10 +42,10 @@ extern int output_is_tty;
extern int input_fd;
extern int input_from_tty;
extern FILE *out_fp;
-extern char *dPrompt;
-extern char *commands_Prompt;
-extern char *eval_Prompt;
-extern char *dgawk_Prompt;
+extern char *dbg_prompt;
+extern char *commands_prompt;
+extern char *eval_prompt;
+extern char *dgawk_prompt;
enum argtype {
D_illegal,
@@ -139,7 +139,7 @@ typedef struct cmd_argument {
#define a_string value.sval /* type = D_string, D_array, D_subscript or D_variable */
#define a_node value.nodeval /* type = D_node, D_field or D_func */
- int a_count; /* subscript count for D_subscript and D_array */
+ int a_count; /* subscript count for D_subscript and D_array */
} CMDARG;
typedef int (*Func_cmd)(CMDARG *, int);
@@ -168,7 +168,8 @@ extern char *(*read_a_line)(const char *prompt);
extern char *read_commands_string(const char *prompt);
extern int in_cmd_src(const char *);
extern int get_eof_status(void);
-extern void push_cmd_src(int fd, int istty, char * (*readfunc)(const char *), int (*closefunc)(int), int cmd, int eofstatus);
+extern void push_cmd_src(int fd, int istty, char * (*readfunc)(const char *),
+ int (*closefunc)(int), int cmd, int eofstatus);
extern int pop_cmd_src(void);
extern int has_break_or_watch_point(int *pnum, int any);
extern int do_list(CMDARG *arg, int cmd);