aboutsummaryrefslogtreecommitdiff
path: root/editors/awk.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/awk.c')
-rw-r--r--editors/awk.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 56688d72c..2fc7d6102 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -70,7 +70,11 @@
70#endif 70#endif
71 71
72 72
73#define OPTSTR_AWK \ 73/* "+": stop on first non-option:
74 * $ awk 'BEGIN { for(i=1; i<ARGC; ++i) { print i ": " ARGV[i] }}' -argz
75 * 1: -argz
76 */
77#define OPTSTR_AWK "+" \
74 "F:v:*f:*" \ 78 "F:v:*f:*" \
75 IF_FEATURE_AWK_GNU_EXTENSIONS("e:*") \ 79 IF_FEATURE_AWK_GNU_EXTENSIONS("e:*") \
76 "W:" 80 "W:"
@@ -230,7 +234,7 @@ typedef struct tsplitter_s {
230 */ 234 */
231#define TC_LENGTH (1 << 20) 235#define TC_LENGTH (1 << 20)
232#define TC_GETLINE (1 << 21) 236#define TC_GETLINE (1 << 21)
233#define TC_FUNCDECL (1 << 22) /* `function' `func' */ 237#define TC_FUNCDECL (1 << 22) /* 'function' 'func' */
234#define TC_BEGIN (1 << 23) 238#define TC_BEGIN (1 << 23)
235#define TC_END (1 << 24) 239#define TC_END (1 << 24)
236#define TC_EOF (1 << 25) 240#define TC_EOF (1 << 25)