diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-14 02:29:53 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-14 02:29:53 -0800 |
commit | 28c7094f5bef662442de4c9168d2d464ff503e61 (patch) | |
tree | 14468612f5eecb8efd5f40054fcfa07c006f377e /parse_tree.h | |
parent | ff5e2746dab17f598fc346cc7ceed97038cfc770 (diff) |
Fix for issue where 'function' would not define a function if the
arguments came before its name. Fixes #1240
Diffstat (limited to 'parse_tree.h')
-rw-r--r-- | parse_tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse_tree.h b/parse_tree.h index f2c6702e..530b5c25 100644 --- a/parse_tree.h +++ b/parse_tree.h @@ -47,6 +47,7 @@ struct parse_token_t enum parse_token_type_t type; // The type of the token as represented by the parser enum parse_keyword_t keyword; // Any keyword represented by this token bool has_dash_prefix; // Hackish: whether the source contains a dash prefix + bool is_help_argument; // Hackish: whether the source looks like '-h' or '--help' size_t source_start; size_t source_length; |