Search
lxdream.org :: lxdream/src/tools/gendec.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/tools/gendec.h
changeset 979:2cc7b486ea6c
prev969:3f178ca1398c
author nkeynes
date Sun Feb 12 16:30:26 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Add -Werror for mregparm check, so it actually fails if mregparm isn't
accepted
file annotate diff log raw
1.1 --- a/src/tools/gendec.h Thu Jan 22 00:45:15 2009 +0000
1.2 +++ b/src/tools/gendec.h Sun Feb 12 16:30:26 2012 +1000
1.3 @@ -65,20 +65,19 @@
1.4 void dump_rulesubset( struct ruleset *rules, int ruleidx[], int rule_count, FILE *f );
1.5
1.6 struct action {
1.7 - char operand_names[MAX_OPERANDS][MAX_OPERAND_NAME+1];
1.8 - char *body;
1.9 -};
1.10 -
1.11 -struct actionset {
1.12 - char *actions[MAX_RULES];
1.13 + const char *filename;
1.14 + int lineno;
1.15 + const char *text;
1.16 };
1.17
1.18 typedef struct actionfile *actionfile_t;
1.19
1.20 typedef struct actiontoken {
1.21 enum { NONE, TEXT, ACTIONS, END, ERROR } symbol;
1.22 + const char *filename;
1.23 + int lineno;
1.24 char *text;
1.25 - char *actions[MAX_RULES];
1.26 + struct action actions[MAX_RULES];
1.27 } *actiontoken_t;
1.28
1.29 actionfile_t action_file_open( const char *filename, struct ruleset *rules );
.