Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit 6c779ca

Browse files
committed
Fix minor issues in scripting types section
1 parent 38ef1cd commit 6c779ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

script-reference/types.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ Enumerations may assign :zeek:type:`count` values explicitly:
341341
type color: enum { Red = 10, White = 20, Blue = 30 };
342342
343343
Without explicit assignment, Zeek numbers enumerations sequentially starting
344-
from 0. You may not mix explicit and implicit assignment.
344+
from 0. You may not mix explicit and implicit assignments.
345345

346346
The only operations allowed on enumerations are equality comparisons (``==``,
347347
``!=``) and assignment (``=``). Enumerations do not automatically yield their
@@ -435,7 +435,7 @@ different methods:
435435
436436
Multiple event handler bodies can be defined for the same event handler
437437
identifier and the body of each will be executed in turn. Ordering
438-
of execution can be influenced with :zeek:attr:`&priority`.
438+
of their execution can be influenced with :zeek:attr:`&priority`.
439439

440440
Multiple alternate event prototype declarations are allowed, but the
441441
alternates must be some subset of the first, canonical prototype and
@@ -1069,7 +1069,7 @@ matching, as follows:
10691069
- Matches one or more instances of ``expr``.
10701070

10711071
* - ``<expr>?``
1072-
- Matches zero or one instances of ``expr``.
1072+
- Matches zero or one instance of ``expr``.
10731073

10741074
* - ``<expr>{n}``
10751075
- Matches ``expr`` ``n`` times, where ``n`` is a non-negative integer.
@@ -1182,7 +1182,7 @@ Zeek also supports the following pattern-level operators and modifiers:
11821182
- Meaning
11831183

11841184
* - ``/<expr1>/ | /<expr2>/``
1185-
- Succeeds when either pattern matches the the input.
1185+
- Succeeds when either pattern matches the input.
11861186

11871187
* - ``/<expr1>/ & /<expr2>/``
11881188
- Succeeds when the concatenation of both patterns matches the input. Note
@@ -2065,7 +2065,7 @@ The resulting vector contains the result of the operation applied to each
20652065
of the elements in the operand vectors.
20662066

20672067
Vectors of :zeek:type:`bool` can be operands of the logical "and" (``&&``) and logical
2068-
"or" (``||``) operators (both operands must have same number of elements).
2068+
"or" (``||``) operators (both operands must have the same number of elements).
20692069
The resulting ``vector of bool`` is the logical "and" (or logical "or") of
20702070
each element of the operand vectors.
20712071

0 commit comments

Comments
 (0)