Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cobc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@

2026-06-11 Saurabh Kumar <developer.saurabh@outlook.com>

* parser.y, reserved.c: add support for parsing class attributes - AS literal,
IS FINAL, INHERITS FROM {class-name ...}, USING {param-name ...}
with unimplemented warning; also support MF extensions IS STATIC, IS ABSTRACT,
IS PARTIAL, IS PUBLIC, IS INTERNAL
* tree.h, common.h: add COB_MODULE_TYPE_CLASS and bit masks for all
object-oriented class attributes

2026-06-08 Nicolas Berthier <nicolas.berthier@ocamlpro.com>

* tree.h, parser.y: change type of cobc_cs_check flags to permit
Expand Down
4 changes: 4 additions & 0 deletions cobc/cobc.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ enum cb_current_date {
#define CB_CS_REPOSITORY (COB_U64_C(1) << 42)
#define CB_CS_CALL_USING (COB_U64_C(1) << 43) /* within USING phrase of CALL statement */
#define CB_CS_READY_OR_RESET (COB_U64_C(1) << 44)
#define CB_CS_CLASS_SPECIFIER (COB_U64_C(1) << 45)
#define CB_CS_INTERFACE_SPECIFIER (COB_U64_C(1) << 46)
#define CB_CS_FACTORY_PARAGRAPH (COB_U64_C(1) << 47)
#define CB_CS_OBJECT_PARAGRAPH (COB_U64_C(1) << 48)

/* Support for cobc from stdin */
#define COB_DASH "-"
Expand Down
Loading
Loading