Anonymous class and namespace are authorized by this two rules. But it
is a problem for the filters. Make 2 filters, one to put a name and
another to delete it.
ClassKey Identifier? BaseClause? -> ClassHead
"namespace" "{" NamespaceBody "}" -> UnnamedNamespaceDefinition
You can put a invalid name to find them easily when deleting them
(e.g. using '<concat-strings>["#",<new>]' and
'where(explode-string;[35|id])').
Tell me when you are starting it.
--
Valentin David
valentin(a)lrde.epita.fr
In cxx-basic, "split" is written with ast but inconsistant with the
new one. You can rewrite it with concrete syntax as an exercise.
Remember that this filter is not so simple as it can be believed
(e.g., "T T, S;" is not equivalent to "T T; T S;", see the ISO/IEC
std).
Have a good work.
--
Valentin David
valentin(a)lrde.epita.fr
Merci à Julien Lemoine.
Les packages debian pour codeboost et openc++-aterm fournit
par Julien Lemoine ont été réparés suite à ma demande.
Désormais, pour installer codeboost il suffit d'ajouter dans
/etc/apt/sources.list les 2 lignes suivantes :
deb http://debian.speedblue.org ./
deb-src http://debian.speedblue.org ./
puis de faire un apt-get install codeboost.
voici les versions fournies:
ii codeboost 0.3.0-1
ii openc++-aterm 2.6.1-3
--
Nicolas Desprès
nicolas.despres(a)lrde.epita.fr
This legal code :
===
struct A {
typedef int B;
};
typedef A C;
C::B i;
===
is not supported by the standard grammar.
"C::" is a nested-name-specifier and then "C" a class-or-namespace-name.
But here, it is a typedef name !
I think the grammar should be this :
class-or-namespace-name:
class-name
namespace-name
typedef-name
--
Valentin David
valentin(a)lrde.epita.fr
"transformers 399 in trunk/sdf-option: Update..."
Je trouve que c'est trop long, et peu pratique.
Je propose de suivre ceci :
"sdf-option 399: Update..."
Qu'en pensez-vous ?
--
Clement Vasseur
nitro(a)epita.fr