xo-reader2: top-level string literal + on_string_token() in SSM
This commit is contained in:
parent
fa6f6defc1
commit
4d0c97ab7a
32 changed files with 189 additions and 1 deletions
|
|
@ -117,6 +117,15 @@
|
|||
{type: "ParserStateMachine *", name: "p_psm"},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "on_string_token",
|
||||
doc: ["update state machine for incoming string-token @p tk"],
|
||||
return_type: "void",
|
||||
args: [
|
||||
{type: "const Token &", name: "tk"},
|
||||
{type: "ParserStateMachine *", name: "p_psm"},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "on_semicolon_token",
|
||||
doc: ["update state machine for incoming semicolon-token @p tk"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue