mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
style: introduce & use STRING_1GROW
* src/flex-scanner.h (STRING_1GROW): New. * src/scan-gram.l, src/scan-skel.l: Use it.
This commit is contained in:
@@ -102,9 +102,9 @@ static void output_mapped_file (char const *name);
|
||||
{
|
||||
[^@]+ STRING_GROW ();
|
||||
|
||||
"@@" obstack_1grow (&obstack_for_string, '@');
|
||||
"@{" obstack_1grow (&obstack_for_string, '[');
|
||||
"@}" obstack_1grow (&obstack_for_string, ']');
|
||||
"@@" STRING_1GROW ('@');
|
||||
"@{" STRING_1GROW ('[');
|
||||
"@}" STRING_1GROW (']');
|
||||
"@'" continue; /* For starting an argument that begins with whitespace. */
|
||||
@\n continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user