From 7db191e7c2f39764c1a8f472b882d567eda89b37 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 22 Oct 2024 10:47:20 -0700 Subject: [PATCH] applets/cjeopardy: add alternative answers tor postfix/prefix questions --- applets/cjeopardy/cjeopardy.txt | 8 ++++---- lib/PBot/VERSION.pm | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/applets/cjeopardy/cjeopardy.txt b/applets/cjeopardy/cjeopardy.txt index f4a41fff..6d14b57a 100644 --- a/applets/cjeopardy/cjeopardy.txt +++ b/applets/cjeopardy/cjeopardy.txt @@ -394,14 +394,14 @@ 394) [6.5.2.3 Structure and union members] The first operand of this operator shall have type ``pointer to atomic, qualified, or unqualified structure'' or ``pointer to atomic, qualified, or unqualified union'', and the second operand shall name a member of the type pointed to.|-> 395) [6.5.2.3 Structure and union members] If the member used to read the contents of this kind of object is not the same as the member last used to store a value in the object, the appropriate part of the object representation of the value is reinterpreted as an object representation in the new type.|union{This process is sometimes called ``type punning''.} 396) [6.5.2.3 Structure and union members] If the member used to read the contents of a union object is not the same as the member last used to store a value in the object, the appropriate part of the object representation of the value is reinterpreted as an object representation in the new type. This process is sometimes called this.|type punning -397) [6.5.2.4 Postfix increment and decrement operators] The result of this operator is the value of the operand. As a side effect, the value of the operand object is incremented.|postfix ++ -398) [6.5.2.4 Postfix increment and decrement operators] The result of this operator is the value of the operand. As a side effect, the value of the operand object is decremented.|postfix -- +397) [6.5.2.4 Postfix increment and decrement operators] The result of this operator is the value of the operand. As a side effect, the value of the operand object is incremented.|postfix ++|postfix increment +398) [6.5.2.4 Postfix increment and decrement operators] The result of this operator is the value of the operand. As a side effect, the value of the operand object is decremented.|postfix --|postfix decrement 399) [6.5.2.5 Compound literals] The type name of a compound literal shall specify a complete object type or an array of unknown size, but not this type.|VLA{VLA stands for variable length array.}|variable length array 400) [6.5.2.5 Compound literals] A postfix expression that consists of a parenthesized type name followed by a brace-enclosed list of initializers is called this.|compound literal 401) [6.5.2.5 Compound literals] If the type name specifies an array of unknown size, the size is determined by this, and the type of the compound literal is that of the completed array type.|initializer list 402) [6.5.2.5 Compound literals] If a compound literal occurs outside the body of a function, the object has this storage duration.|static -403) [6.5.3.1 Prefix increment and decrement operators] The value of the operand of this operator is incremented. The result is the new value of the operand after incrementation.|prefix ++ -404) [6.5.3.1 Prefix increment and decrement operators] The value of the operand of this operator is decremented. The result is the new value of the operand after decrementation.|prefix -- +403) [6.5.3.1 Prefix increment and decrement operators] The value of the operand of this operator is incremented. The result is the new value of the operand after incrementation.|prefix ++|prefix increment +404) [6.5.3.1 Prefix increment and decrement operators] The value of the operand of this operator is decremented. The result is the new value of the operand after decrementation.|prefix --|prefix decrement 405) [6.5.3.2 Address and indirection operators] The operand of this operator shall be either a function designator, the result of a [] or unary * operator, or an lvalue that designates an object that is not a bit-field and is not declared with the register storage-class specifier.|unary &|& 406) [6.5.3.2 Address and indirection operators] The operand of the unary * operator shall have this kind of type.|pointer 407) [6.5.3.2 Address and indirection operators] This operator yields the address of its operand.|unary &|& diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 58e5afef..113df506 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4805, + BUILD_REVISION => 4806, BUILD_DATE => "2024-10-22", };