xref: /freebsd/contrib/bc/locales/en_US.US-ASCII.msg (revision f7c32ed617858bcd22f8d1b03199099d50125721)
1$ $
2$ SPDX-License-Identifier: BSD-2-Clause
3$ $
4$ Copyright (c) 2018-2021 Gavin D. Howard and contributors.
5$ $
6$ Redistribution and use in source and binary forms, with or without
7$ modification, are permitted provided that the following conditions are met:
8$ $
9$ * Redistributions of source code must retain the above copyright notice, this
10$   list of conditions and the following disclaimer.
11$ $
12$ * Redistributions in binary form must reproduce the above copyright notice,
13$   this list of conditions and the following disclaimer in the documentation
14$   and/or other materials provided with the distribution.
15$ $
16$ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17$ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18$ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19$ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20$ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21$ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22$ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23$ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24$ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25$ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26$ POSSIBILITY OF SUCH DAMAGE.
27$ $
28
29$quote "
30
31$ Miscellaneous messages.
32$set 1
33
341 "Function:"
35
36$ Error types.
37$set 2
38
391 "Math error:"
402 "Parse error:"
413 "Runtime error:"
424 "Fatal error:"
435 "Warning:"
44
45$ Math errors.
46$set 3
47
481 "negative number"
492 "non-integer number"
503 "overflow: number does not fit into a hardware number"
514 "divide by 0"
52
53$ Parse errors.
54$set 4
55
561 "end of file"
572 "invalid character '%c'"
583 "string end cannot be found"
594 "comment end cannot be found"
605 "invalid token"
616 "invalid expression"
627 "empty expression"
638 "invalid print or stream statement"
649 "invalid function definition"
6510 "invalid assignment: left side must be scale, ibase, obase, seed, last, var, or array element"
6611 "no auto variable found"
6712 "function parameter or auto \"%s%s\" already exists"
6813 "block end cannot be found"
6914 "cannot return a value from void function: %s()"
7015 "var cannot be a reference: %s"
7116 "POSIX does not allow names longer than 1 character: %s"
7217 "POSIX does not allow '#' script comments"
7318 "POSIX does not allow the following keyword: %s"
7419 "POSIX does not allow a period ('.') as a shortcut for the last result"
7520 "POSIX requires parentheses around return expressions"
7621 "POSIX does not allow the following operator: %s"
7722 "POSIX does not allow comparison operators outside if statements or loops"
7823 "POSIX requires 0 or 1 comparison operators per condition"
7924 "POSIX requires all 3 parts of a for loop to be non-empty"
8025 "POSIX does not allow exponential notation"
8126 "POSIX does not allow array references as function parameters"
8227 "POSIX requires the left brace be on the same line as the function header"
8328 "POSIX does not allow strings to be assigned to variables or arrays"
84
85$ Runtime errors.
86$set 5
87
881 "invalid ibase: must be [%lu, %lu]"
892 "invalid obase: must be [%lu, %lu]"
903 "invalid scale: must be [%lu, %lu]"
914 "invalid read() expression"
925 "recursive read() call"
936 "variable or array element is the wrong type"
947 "stack has too few elements"
958 "stack for register \"%s\" has too few elements"
969 "wrong number of parameters; need %zu, have %zu"
9710 "undefined function: %s()"
9811 "cannot use a void value in an expression"
99
100$ Fatal errors.
101$set 6
102
1031 "memory allocation failed"
1042 "I/O error"
1053 "cannot open file: %s"
1064 "file is not text: %s"
1075 "path is a directory: %s"
1086 "invalid command-line option: \"%s\""
1097 "option requires an argument: '%c' (\"%s\")"
1108 "option takes no arguments: '%c' (\"%s\")"
1119 "invalid command-line option argument: \"%s\""
112