author | Sebastian Harl <sh@tokkee.org> | |
Fri, 7 Mar 2014 11:47:06 +0000 (12:47 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 7 Mar 2014 11:47:06 +0000 (12:47 +0100) | ||
commit | e7edc6432f63f36a2508b4c426876593678c8434 | |
tree | bb5d028a0eac9b41a351f9fc79852b3c198f00bb | tree | snapshot |
parent | 51b387d139a2c8e61224586d9543d7cef2aaf6a8 | commit | diff |
frontend parser: Added support for parsing single expressions.
The parser has been extended to support different modes. In SDB_PARSE_EXPR
mode, a single expression will be accepted as a start condition. The new
function sdb_fe_parse_matcher() uses this to parse expressions.
For now, this implements only the basic framework. Any identifier will be
parsed as a simple name matcher expression.
The parser has been extended to support different modes. In SDB_PARSE_EXPR
mode, a single expression will be accepted as a start condition. The new
function sdb_fe_parse_matcher() uses this to parse expressions.
For now, this implements only the basic framework. Any identifier will be
parsed as a simple name matcher expression.