1+ //line scan_string_lit.rl:1
12// Copyright (c) HashiCorp, Inc.
23// SPDX-License-Identifier: MPL-2.0
34
4- //line scan_string_lit.rl:1
5-
65package hclsyntax
76
87// This file is generated from scan_string_lit.rl. DO NOT EDIT.
98
10- //line scan_string_lit.go:9
9+ //line scan_string_lit.go:11
1110var _hclstrtok_actions []byte = []byte {
1211 0 , 1 , 0 , 1 , 1 , 2 , 1 , 0 ,
1312}
@@ -117,12 +116,12 @@ const hclstrtok_error int = 0
117116const hclstrtok_en_quoted int = 10
118117const hclstrtok_en_unquoted int = 4
119118
120- //line scan_string_lit.rl:10
119+ //line scan_string_lit.rl:12
121120
122121func scanStringLit (data []byte , quoted bool ) [][]byte {
123122 var ret [][]byte
124123
125- //line scan_string_lit.rl:61
124+ //line scan_string_lit.rl:63
126125
127126 // Ragel state
128127 p := 0 // "Pointer" into data
@@ -147,11 +146,11 @@ func scanStringLit(data []byte, quoted bool) [][]byte {
147146 ret = append(ret, data[ts:te])
148147 }*/
149148
150- //line scan_string_lit.go:154
149+ //line scan_string_lit.go:156
151150 {
152151 }
153152
154- //line scan_string_lit.go:158
153+ //line scan_string_lit.go:160
155154 {
156155 var _klen int
157156 var _trans int
@@ -232,7 +231,7 @@ func scanStringLit(data []byte, quoted bool) [][]byte {
232231 _acts ++
233232 switch _hclstrtok_actions [_acts - 1 ] {
234233 case 0 :
235- //line scan_string_lit.rl:40
234+ //line scan_string_lit.rl:42
236235
237236 // If te is behind p then we've skipped over some literal
238237 // characters which we must now return.
@@ -242,12 +241,12 @@ func scanStringLit(data []byte, quoted bool) [][]byte {
242241 ts = p
243242
244243 case 1 :
245- //line scan_string_lit.rl:48
244+ //line scan_string_lit.rl:50
246245
247246 te = p
248247 ret = append (ret , data [ts :te ])
249248
250- //line scan_string_lit.go:253
249+ //line scan_string_lit.go:255
251250 }
252251 }
253252
@@ -270,12 +269,12 @@ func scanStringLit(data []byte, quoted bool) [][]byte {
270269 __acts ++
271270 switch _hclstrtok_actions [__acts - 1 ] {
272271 case 1 :
273- //line scan_string_lit.rl:48
272+ //line scan_string_lit.rl:50
274273
275274 te = p
276275 ret = append (ret , data [ts :te ])
277276
278- //line scan_string_lit.go:278
277+ //line scan_string_lit.go:280
279278 }
280279 }
281280 }
@@ -285,7 +284,7 @@ func scanStringLit(data []byte, quoted bool) [][]byte {
285284 }
286285 }
287286
288- //line scan_string_lit.rl:89
287+ //line scan_string_lit.rl:91
289288
290289 if te < p {
291290 // Collect any leftover literal characters at the end of the input
0 commit comments