mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-03-21 20:51:27 +00:00
New files containing a simplified and sanitized version of the state
Mon Mar 27 21:44:04 2006 Soeren Sandmann <sandmann@redhat.com> * sformat.[ch]: New files containing a simplified and sanitized version of the state machine and type system from sfile.c. * sfile.c: Move the state machine and type management to separate files. Make the amount of memory used during loading and saving less obscene. * stackstash.c (stack_stash_new_from_root): Make this function store the root again.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
3c5240c7ef
commit
6534ca13c0
10
TODO
10
TODO
@ -128,6 +128,16 @@ Before 1.2:
|
||||
|
||||
- split out dfa in its own generic class
|
||||
|
||||
- Formats should become first-class, stand-alone objects that offers
|
||||
help with parsing and nothing else.
|
||||
|
||||
ParseContext* format_get_parse_context (format, err);
|
||||
gboolean parse_context_begin (parse_context, name, err);
|
||||
gboolean parse_context_end (parse_format, name, err);
|
||||
|
||||
basically, a Format encapsulates a DFA, and a ParseContext encapsulates
|
||||
the current state.
|
||||
|
||||
- make a generic representation of xml files with quarks for strings:
|
||||
struct item {
|
||||
int begin/end/text;
|
||||
|
||||
Reference in New Issue
Block a user