File: 02_fix_manpage_typo.diff

package info (click to toggle)
re2c 3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 41,788 kB
  • sloc: cpp: 23,278; sh: 4,985; makefile: 707; haskell: 604; python: 196; ansic: 135; javascript: 108
file content (21 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# fix a spelling error that lintian nags about
--- a/doc/manual/eof/eof.rst_
+++ b/doc/manual/eof/eof.rst_
@@ -31,7 +31,7 @@
   |
 
 - **Sentinel with bounds checks.**
-  This method is generic: it allows to handle any input without restrictions on
+  This method is generic: it allows one to handle any input without restrictions on
   the regular expressions. The idea is to reduce the number of end of input
   checks by performing them only on certain characters. Similar to the
   "sentinel" method, one of the characters is chosen as a "sentinel" and
@@ -66,7 +66,7 @@
   |
 
 - **Custom checks.**
-  Generic API allows to override basic operations like reading a character,
+  Generic API allows one to override basic operations like reading a character,
   which makes it possible to include the end-of-input checks as part of them.
   This approach is error-prone and should be used with caution. To use a custom
   method, enable generic API with ``--api custom`` or ``re2c:api = custom;`` and