diff options
author | 2017-03-01 11:46:51 -0500 | |
---|---|---|
committer | 2017-03-01 17:23:58 +0000 | |
commit | bfe15f61a277a50b05703307f56e184cc00b1aa7 (patch) | |
tree | d5af18081276ef127d2c4e36d3a517f18f1063a2 /src/sksl/lex.layout.h | |
parent | 9341c98113c91e3cf6ba2ca19833c01392c37cc8 (diff) |
changed skslc layout parsing strategy
Change-Id: I322f0682a8753beb858012b00ee7e4ec6b206c2f
Reviewed-on: https://skia-review.googlesource.com/9081
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Diffstat (limited to 'src/sksl/lex.layout.h')
-rw-r--r-- | src/sksl/lex.layout.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sksl/lex.layout.h b/src/sksl/lex.layout.h new file mode 100644 index 0000000000..345b336253 --- /dev/null +++ b/src/sksl/lex.layout.h @@ -0,0 +1,12 @@ +/* + * Copyright 2017 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +int layoutlex_init(yyscan_t* ptr_yy_globals); +int layoutlex_destroy(void* scanner); +YY_BUFFER_STATE layout_scan_string(const char* s, void* scanner); +int layoutlex(void* yyscanner); +void layout_delete_buffer(YY_BUFFER_STATE b, void* yyscanner); |