mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
AT_FULL_COMPILE.
* tests/actions.at, tests/regression.at: Use it.
This commit is contained in:
committed by
Joel E. Denny
parent
e186a28486
commit
11c4e57daf
@@ -1,3 +1,8 @@
|
||||
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
AT_FULL_COMPILE.
|
||||
* tests/actions.at, tests/regression.at: Use it.
|
||||
|
||||
2008-11-07 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Pass command line location to skeleton_arg and language_argmatch.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Executing Actions. -*- Autotest -*-
|
||||
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
|
||||
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software
|
||||
# Foundation, Inc.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
@@ -367,11 +367,7 @@ main (int argc, const char *argv[])
|
||||
}
|
||||
]])
|
||||
|
||||
AT_LALR1_CC_IF(
|
||||
[AT_BISON_CHECK([-o input.cc input.y])
|
||||
AT_COMPILE_CXX([input])],
|
||||
[AT_BISON_CHECK([-o input.c input.y])
|
||||
AT_COMPILE([input])])
|
||||
AT_FULL_COMPILE([input])
|
||||
|
||||
|
||||
# Check the location of "empty"
|
||||
|
||||
@@ -939,11 +939,7 @@ m4_define([AT_CHECK_DANCER],
|
||||
AT_BISON_OPTION_PUSHDEFS([$1])
|
||||
_AT_DATA_DANCER_Y([$1])
|
||||
AT_BISON_CHECK([-o dancer.c dancer.y])
|
||||
AT_LALR1_CC_IF(
|
||||
[AT_BISON_CHECK([-o dancer.cc dancer.y])
|
||||
AT_COMPILE_CXX([dancer])],
|
||||
[AT_BISON_CHECK([-o dancer.c dancer.y])
|
||||
AT_COMPILE([dancer])])
|
||||
AT_FULL_COMPILE([dancer])
|
||||
AT_PARSER_CHECK([./dancer], 1, [],
|
||||
[syntax error, unexpected ':'
|
||||
])
|
||||
@@ -1039,11 +1035,7 @@ m4_define([AT_CHECK_EXPECT2],
|
||||
AT_BISON_OPTION_PUSHDEFS([$1])
|
||||
_AT_DATA_EXPECT2_Y([$1])
|
||||
AT_BISON_CHECK([-o expect2.c expect2.y])
|
||||
AT_LALR1_CC_IF(
|
||||
[AT_BISON_CHECK([-o expect2.cc expect2.y])
|
||||
AT_COMPILE_CXX([expect2])],
|
||||
[AT_BISON_CHECK([-o expect2.c expect2.y])
|
||||
AT_COMPILE([expect2])])
|
||||
AT_FULL_COMPILE([expect2])
|
||||
AT_PARSER_CHECK([./expect2], 1, [],
|
||||
[syntax error, unexpected '+', expecting A or B
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user