Overview
| Comment: | objfw-new: Complain if the name contains dots |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
ea61899548ad585106c2803e8867df30 |
| User & Date: | js on 2022-10-18 17:21:57 |
| Other Links: | manifest | tags |
Context
|
2022-10-18
| ||
| 17:59 | GitHub Actions: Replace Ubuntu 18.04 with latest (check-in: a62fba3dc8 user: js tags: trunk) | |
| 17:21 | objfw-new: Complain if the name contains dots (check-in: ea61899548 user: js tags: trunk) | |
| 15:34 | Document more exceptions (check-in: e9708e48e0 user: js tags: trunk) | |
Changes
Modified utils/objfw-new/ObjFWNew.m from [6054a43bff] to [efa3835453].
| ︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + |
[OFApplication terminateWithStatus: 1];
}
@implementation ObjFWNew
- (void)applicationDidFinishLaunching
{
bool app, class;
|
| ︙ | |||
73 74 75 76 77 78 79 80 81 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | + + + + + + - + - - + |
}
if ((app ^ class) != 1 || optionsParser.remainingArguments.count != 1)
showUsage();
if ((superclass && !class) || (properties != nil && !class))
showUsage();
name = optionsParser.remainingArguments.firstObject;
if ([name rangeOfString: @"."].location != OFNotFound) {
[OFStdErr writeLine: @"Name must not contain dots!"];
[OFApplication terminate];
}
if (app)
|