Akim Demaille
cb8d8bb9b6
value type: accept "->" in type tags
...
Provide a means to dereference pointers when defining tags. One
example could be:
%code requires
{
typedef struct ListElementType
{
union value
{
int intVal;
float floatVal;
char* charptrVal;
} value;
struct ListElementType* next;
} ListElementType;
}
%union
{
ListElementType* list;
}
%token <list->value.charptrVal> STRING
%token <list->value.intVal> INTEGER
%token <list->value.floatVal> REAL
%type <list> ElementList LiteralType
* src/scan-code.l, src/scan-gram.l: Accept "->" in tags.
* tests/types.at: Add more test cases to cover this case.
2013-04-09 14:07:51 +02:00
..
2010-10-17 10:23:55 -04:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-03-04 18:21:44 +01:00
2013-03-04 18:21:44 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-04-04 16:50:38 +02:00
2013-02-16 07:45:07 +01:00
2013-02-18 10:01:28 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-16 07:45:06 +01:00
2013-04-04 16:50:38 +02:00
2013-04-04 16:50:38 +02:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-04-05 10:42:59 +02:00
2013-04-04 16:50:55 +02:00
2013-04-05 10:42:59 +02:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:29 +01:00
2013-02-18 10:01:27 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2008-11-15 10:47:15 +01:00
2013-01-12 16:14:16 +01:00
2013-04-09 14:07:51 +02:00
2008-11-15 10:47:15 +01:00
2013-01-12 16:14:16 +01:00
2013-04-09 14:07:51 +02:00
2008-11-15 10:47:15 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:29 +01:00
2013-02-18 10:01:29 +01:00
2013-02-11 09:04:17 +01:00
2013-02-18 10:01:28 +01:00
2013-02-18 10:01:28 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00