diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-11-02 20:21:46 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-11-02 20:21:46 +0200 |
commit | 0c075409a9a17bbc774880fdf1110251493f5f57 (patch) | |
tree | 342aa6ad703d6cc8bb8b34cda04dffb277204c16 /awk.h | |
parent | ba3fd3d4ab19184a84720772b861c10ffb595cf0 (diff) | |
download | egawk-0c075409a9a17bbc774880fdf1110251493f5f57.tar.gz egawk-0c075409a9a17bbc774880fdf1110251493f5f57.tar.bz2 egawk-0c075409a9a17bbc774880fdf1110251493f5f57.zip |
Rework scalar comparisons to be (more) like in C.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1574,6 +1574,15 @@ typedef enum { extern field_sep_type current_field_sep(void); extern const char *current_field_sep_str(void); +typedef enum { + SCALAR_EQ, + SCALAR_NEQ, + SCALAR_LT, + SCALAR_LE, + SCALAR_GT, + SCALAR_GE, +} scalar_cmp_t; + /* gawkapi.c: */ extern gawk_api_t api_impl; extern void init_ext_api(void); |