mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 18:53:04 +00:00
style: formatting changes in scan-code.l
* src/scan-code.l: Fix indentation.
This commit is contained in:
8
TODO
8
TODO
@@ -3,6 +3,14 @@
|
|||||||
See the recent changes about function prototypes in POSIX Yacc. Implement
|
See the recent changes about function prototypes in POSIX Yacc. Implement
|
||||||
them.
|
them.
|
||||||
|
|
||||||
|
** scan-code
|
||||||
|
The default case is scanning char-per-char.
|
||||||
|
|
||||||
|
/* By default, grow the string obstack with the input. */
|
||||||
|
.|\n STRING_GROW ();
|
||||||
|
|
||||||
|
make it more eager?
|
||||||
|
|
||||||
** Missing tests
|
** Missing tests
|
||||||
commit c22902e360e0fbbe9fd5657dcf107e03166da309
|
commit c22902e360e0fbbe9fd5657dcf107e03166da309
|
||||||
Author: Akim Demaille <akim.demaille@gmail.com>
|
Author: Akim Demaille <akim.demaille@gmail.com>
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ splice (\\[ \f\t\v]*\n)*
|
|||||||
/* C style identifier. Must start with letter. Will be used for
|
/* C style identifier. Must start with letter. Will be used for
|
||||||
named symbol references. Shall be kept synchronized with
|
named symbol references. Shall be kept synchronized with
|
||||||
scan-gram.l "letter" and "id". */
|
scan-gram.l "letter" and "id". */
|
||||||
letter [.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
|
letter [.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
|
||||||
id {letter}({letter}|[-0-9])*
|
id {letter}({letter}|[-0-9])*
|
||||||
ref -?[0-9]+|{id}|"["{id}"]"|"$"
|
ref -?[0-9]+|{id}|"["{id}"]"|"$"
|
||||||
|
|
||||||
%%
|
%%
|
||||||
@@ -203,7 +203,7 @@ ref -?[0-9]+|{id}|"["{id}"]"|"$"
|
|||||||
/* By default, grow the string obstack with the input. */
|
/* By default, grow the string obstack with the input. */
|
||||||
.|\n STRING_GROW ();
|
.|\n STRING_GROW ();
|
||||||
|
|
||||||
/* End of processing. */
|
/* End of processing. */
|
||||||
<<EOF>> STRING_FINISH (); return last_string;
|
<<EOF>> STRING_FINISH (); return last_string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user