summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/types.h b/types.h
index 26efd86..9100652 100644
--- a/types.h
+++ b/types.h
@@ -590,9 +590,9 @@ typedef struct NewExpr {
} NewExpr;
typedef struct SliceExpr {
- struct Expression *of;
- struct Expression *from;
- struct Expression *to;
+ struct Expression *of; /* required */
+ struct Expression *from; /* optional */
+ struct Expression *to; /* optional */
struct {
IdentID id;
} c;