• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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$ 杂项信息。
32$set 1
33
341 "函数:"
35
36$ 错误类型。
37$set 2
38
391 "数学错误:"
402 "解析错误:"
413 "运行时错误:"
424 "致命错误:"
435 "警告:"
44
45$ 数学错误。
46$set 3
47
481 "负数"
492 "非整数"
503 "溢出:数字不符合硬件号码"
514 "除以0"
52
53$ 解析错误。
54$set 4
55
561 "文件结束"
572 "无效字符'%c'"
583 "找不到字符串尾部"
594 "无法找到评论的结尾"
605 "无效令牌"
616 "无效表达"
627 “空表达”
638 "无效打印声明"
649 "无效的功能定义"
6510 "无效分配:左侧必须是scale、ibase、obase、last、var或数组元素"
6611 "没有找到自动变量"
6712 "函数参数或自动参数 \"%s%s\" 已经存在"
6813 "找不到区块末端"
6914 "不能从void函数中返回一个值:%s()"
7015 "var不能作为参考:%s"
7116 "POSIX不允许名字超过1个字符:%s"
7217 "POSIX不允许'#'脚本注释"
7318 "POSIX不允许使用以下关键字:%s"
7419 "POSIX不允许用句号('.')作为最后结果的快捷方式"
7520 "POSIX要求在返回表达式周围加括号"
7621 "POSIX不允许以下操作符:%s"
7722 "POSIX不允许在if语句或循环之外的比较运算符"
7823 "POSIX要求每个条件的比较运算符为0或1个"
7924 "POSIX要求for循环的所有3个部分必须是非空的"
8025 "POSIX不允许使用指数符号"
8126 "POSIX不允许数组引用作为函数参数"
8227 "POSIX要求左边的括号和函数头在同一行上"
83
84$ 运行时错误。
85$set 5
86
871 "无效的ibase: 必须是[%lu, %lu]"
882 "无效的obase:必须是[%lu,%lu]"
893 "无效的scale:必须是[%lu,%lu]"
904 "无效的read()表达式"
915 "递归读取()调用"
926 "变量或数组元素是错误的类型"
937 "堆栈的元素太少"
948 "参数数量错误:需要%zu,有%zu"
959 "未定义的函数:%s()"
9610 “不能在表达式中使用空值”
97
98$ 致命错误。
99$set 6
100
1011 "内存分配失败"
1022 "I/O错误"
1033 "无法打开文件:%s"
1044 "文件不是ASCII: %s"
1055 "路径是一个目录:%s"
1066 "无效的命令行选项:\"%s\""
1077 "选项需要一个参数:'%c'(\"%s\")"
1088 "选项不需要参数。'%c'(\"%s\")"
109