/* Bison Action Scanner -*- C -*-
- Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
#include <src/getargs.h>
#include <get-errno.h>
#include <quote.h>
-
+#include <src/muscle-tab.h>
#include <src/scan-code.h>
#include <src/symlist.h>
"#" STRING_GROW; in_cpp = true;
{splice} STRING_GROW;
- [\n\r] STRING_GROW; if (in_cpp) in_cpp = need_semicolon = false;
+ [\n\r] STRING_GROW; if (in_cpp) in_cpp = need_semicolon = false;
[ \t\f] STRING_GROW;
. STRING_GROW; need_semicolon = true;
}
}
"@$" {
obstack_sgrow (&obstack_for_string, "]b4_at_dollar[");
- locations_flag = true;
+ muscle_percent_define_ensure("locations", the_location, true);
}
}
? rule->midrule_parent_rhs_index - 1
: symbol_list_length (rule->next));
- locations_flag = true;
+ muscle_percent_define_ensure("locations", at_loc, true);
if (*cp == '$')
obstack_sgrow (&obstack_for_string, "]b4_lhs_location[");