summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-08-07 09:02:58 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-08-07 12:53:15 +0200
commit6118406c3eac88a06a414edf4a50b175fa339916 (patch)
treeee382b34ff3070a49277cfce8f97d60fcbe8fb18 /src
parenta83202a43698c2ba3990180ad85d6547ea2e9f17 (diff)
downloadbison-6118406c3eac88a06a414edf4a50b175fa339916.tar.gz
style: formatting changes in scan-code.l
* src/scan-code.l: Fix indentation.
Diffstat (limited to 'src')
-rw-r--r--src/scan-code.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scan-code.l b/src/scan-code.l
index 416f11d4..fced37d2 100644
--- a/src/scan-code.l
+++ b/src/scan-code.l
@@ -92,8 +92,8 @@ splice (\\[ \f\t\v]*\n)*
/* C style identifier. Must start with letter. Will be used for
named symbol references. Shall be kept synchronized with
scan-gram.l "letter" and "id". */
-letter [.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
-id {letter}({letter}|[-0-9])*
+letter [.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
+id {letter}({letter}|[-0-9])*
ref -?[0-9]+|{id}|"["{id}"]"|"$"
%%
@@ -203,7 +203,7 @@ ref -?[0-9]+|{id}|"["{id}"]"|"$"
/* By default, grow the string obstack with the input. */
.|\n STRING_GROW ();
- /* End of processing. */
+ /* End of processing. */
<<EOF>> STRING_FINISH (); return last_string;
}