aboutsummaryrefslogtreecommitdiff
path: root/vs-c.md
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-25 11:26:30 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-25 11:26:30 -0600
commitd9fcad8cd6ec6f0469d25a1c6ad640d60a485d1c (patch)
tree9c968b7e01bb0d51ae0626d47f4f13fe878df720 /vs-c.md
parentf1fcbe3d5bf5158f39b89f0eb3677db50fb2f8fd (diff)
downloadspec-d9fcad8cd6ec6f0469d25a1c6ad640d60a485d1c.tar.gz
spec-d9fcad8cd6ec6f0469d25a1c6ad640d60a485d1c.zip
add fragile keyword
Diffstat (limited to 'vs-c.md')
-rw-r--r--vs-c.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vs-c.md b/vs-c.md
index bceaab1..b6cbcd5 100644
--- a/vs-c.md
+++ b/vs-c.md
@@ -45,7 +45,7 @@ Some type modifiers in C only apply in very specific circumstances and so aren't
Some C features are footguns by default, so Crowbar ensures that they are only used correctly.
- Unions are not robust by default.
- Crowbar only supports unions when they are [tagged unions](tagged-unions.md).
+ Crowbar only supports unions when they are [tagged unions](tagged-unions.md) (or declared and used with the `fragile` keyword).
C's syntax isn't perfect, but it's usually pretty good.
However, sometimes it just sucks, and in those cases Crowbar makes changes.