diff options
Diffstat (limited to 'support/splint/examples/ld/ldlexo.w')
-rw-r--r-- | support/splint/examples/ld/ldlexo.w | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/support/splint/examples/ld/ldlexo.w b/support/splint/examples/ld/ldlexo.w index a1c5d62bb0..eb273ac7e8 100644 --- a/support/splint/examples/ld/ldlexo.w +++ b/support/splint/examples/ld/ldlexo.w @@ -1,4 +1,4 @@ -@q Copyright 2015-2020 Alexander Shibakov@> +@q Copyright 2015-2022 Alexander Shibakov@> @q Copyright 2002-2015 Free Software Foundation, Inc.@> @q This file is part of SPLinT@> @@ -26,11 +26,17 @@ are a leftover from the archaic days of the original scanner generator.} @G @> @<Original \ld\ macros@> @= %{@>@<Original \ld\ preamble@> @=%} -%option nounput + @> @<Miscellaneous \ld\ lexer options@> @= @> @<Ignored options@> @= %% @> @<Original \ld\ regular expressions@> @= %% + @> @<Original \ld\ postamble@> @= +@g + +@ @<Miscellaneous \ld\ lexer options@>= +@G(fs1) +%option nounput @g @ @<Original \ld\ preamble@>= @@ -134,7 +140,7 @@ States: }% \ifbootstrapmode\else\yyskipparsefalse\fi @<\ld\ states@>= -@G +@G(fs1) %s SCRIPT %s EXPRESSION %s BOTH @@ -145,7 +151,7 @@ States: %s VERS_NODE @g -@ @<\ld\ postamble@>= +@ @<Original \ld\ postamble@>= if (parser_input != input_selected) { /* The first token of the input determines the initial parser state. */ |