Home
last modified time | relevance | path

Searched refs:syntax_error (Results 1 – 16 of 16) sorted by relevance

/minix/external/bsd/kyua-cli/dist/utils/text/
H A Dexceptions.cpp52 text::syntax_error::syntax_error(const std::string& message) : in syntax_error() function in text::syntax_error
59 text::syntax_error::~syntax_error(void) throw() in ~syntax_error()
H A Dexceptions_test.cpp46 ATF_TEST_CASE_WITHOUT_HEAD(syntax_error);
47 ATF_TEST_CASE_BODY(syntax_error) in ATF_TEST_CASE_BODY() argument
49 const text::syntax_error e("Some text"); in ATF_TEST_CASE_BODY()
65 ATF_ADD_TEST_CASE(tcs, syntax_error); in ATF_INIT_TEST_CASES()
H A Dexceptions.hpp50 class syntax_error : public error { class
52 explicit syntax_error(const std::string&);
53 ~syntax_error(void) throw();
H A Dtemplates.cpp182 throw text::syntax_error("Empty statement"); in parse()
186 throw text::syntax_error(F("Unknown statement '%s'") % words[0]); in parse()
190 throw text::syntax_error(F("Invalid number of arguments for " in parse()
628 throw text::syntax_error(F("Unknown variable '%s'") % name); in get_variable()
645 throw text::syntax_error(F("Unknown vector '%s'") % name); in get_vector()
670 } catch (const text::syntax_error& e) { in get_vector()
671 throw text::syntax_error(F("Index '%s' not an integer, value '%s'") % in get_vector()
675 throw text::syntax_error(F("Index '%s' out of range at position '%s'") % in get_vector()
706 throw text::syntax_error(F("Expected ')' in expression '%s')") % in evaluate()
709 throw text::syntax_error(F("Unexpected text found after ')' in " in evaluate()
H A Dtemplates_test.cpp82 ATF_REQUIRE_THROW_RE(text::syntax_error, exp_message, in do_test_fail()
116 ATF_REQUIRE_THROW(text::syntax_error, templates.get_variable("the-name")); in ATF_TEST_CASE_BODY()
202 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown variable 'foo '", in ATF_TEST_CASE_BODY()
224 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown vector 'foo '", in ATF_TEST_CASE_BODY()
245 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown variable 'foo1'", in ATF_TEST_CASE_BODY()
275 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown vector 'fooz'", in ATF_TEST_CASE_BODY()
287 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown variable 'indexz'", in ATF_TEST_CASE_BODY()
299 ATF_REQUIRE_THROW_RE(text::syntax_error, "Index 'index' out of range " in ATF_TEST_CASE_BODY()
337 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown vector 'foo'", in ATF_TEST_CASE_BODY()
346 ATF_REQUIRE_THROW_RE(text::syntax_error, in ATF_TEST_CASE_BODY()
[all …]
/minix/external/bsd/kyua-cli/dist/utils/config/
H A Dparser_test.cpp106 ATF_REQUIRE_THROW_RE(config::syntax_error, "foo", in ATF_TEST_CASE_BODY()
141 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
150 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
162 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
177 ATF_REQUIRE_THROW_RE(config::syntax_error, "must be 'config'", in ATF_TEST_CASE_BODY()
181 ATF_REQUIRE_THROW_RE(config::syntax_error, "only takes one argument", in ATF_TEST_CASE_BODY()
193 ATF_REQUIRE_THROW_RE(config::syntax_error, "No syntax defined", in ATF_TEST_CASE_BODY()
212 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
H A Dexceptions.cpp70 config::syntax_error::syntax_error(const std::string& message) : in syntax_error() function in config::syntax_error
77 config::syntax_error::~syntax_error(void) throw() in ~syntax_error()
H A Dexceptions.hpp60 class syntax_error : public error { class
62 explicit syntax_error(const std::string&);
63 ~syntax_error(void) throw();
H A Dexceptions_test.cpp57 ATF_TEST_CASE_WITHOUT_HEAD(syntax_error);
58 ATF_TEST_CASE_BODY(syntax_error) in ATF_TEST_CASE_BODY() argument
60 const config::syntax_error e("Some text"); in ATF_TEST_CASE_BODY()
102 ATF_ADD_TEST_CASE(tcs, syntax_error); in ATF_INIT_TEST_CASES()
H A Dparser.cpp88 throw syntax_error("syntax() can only be called once"); in syntax_callback()
187 throw syntax_error(e.what()); in parse()
191 throw syntax_error("No syntax defined (no call to syntax() found)"); in parse()
H A Dlua_module.cpp60 throw config::syntax_error("Cannot find tree singleton; global state " in get_global_tree()
/minix/external/bsd/byacc/dist/
H A Dreader.c398 syntax_error(lineno, line, t_cptr); in keyword()
412 syntax_error(lineno, line, cptr); in copy_ident()
965 syntax_error(lineno, line, cptr); in copy_param()
1395 syntax_error(lineno, line, cptr); in declare_expect()
1422 syntax_error(lineno, line, cptr); in declare_argtypes()
1501 syntax_error(lineno, line, cptr); in declare_start()
2033 syntax_error(lineno, line, cptr); in advance_to_start()
2057 syntax_error(lineno, line, cptr); in advance_to_start()
2630 syntax_error(lineno, line, cptr); in get_code()
2935 syntax_error(lineno, line, cptr); in mark_symbol()
[all …]
H A Derror.c75 syntax_error(int st_lineno, char *st_line, char *st_cptr) in syntax_error() function
H A Ddefs.h463 extern void syntax_error(int st_lineno, char *st_line, char *st_cptr) GCC_NORETURN;
/minix/external/bsd/kyua-cli/dist/engine/
H A Dconfig.cpp98 throw config::syntax_error(F("Unsupported config version %s") % in setup()
/minix/gnu/usr.bin/texinfo/patches/
H A D0000-texinfo-nbsd.patch1577 syntax_error (filename, lnum,
1587 syntax_error (filename, lnum, (char *) _("missing action name"),