From: Maxime van Noppen <yabo(a)lrde.epita.fr>
To: transformers-patches(a)lrde.epita.fr, olena-patches(a)lrde.epita.fr
Subject: scool r132: Fix an ambiguity with verbatim c++ statements
URL:
https://svn.lrde.epita.fr/svn/scool/branches/scool-ng
ChangeLog:
2009-02-11 Maxime van Noppen <yabo(a)lrde.epita.fr>
Fix an ambiguity with verbatim c++ statements.
* scl-syn/Statement.sdf: Prefer CxxStatement for verbatim C++
statements.
---
Statement.sdf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: branches/scool-ng/src/scl-syn/Statement.sdf
===================================================================
--- branches/scool-ng/src/scl-syn/Statement.sdf (revision 131)
+++ branches/scool-ng/src/scl-syn/Statement.sdf (revision 132)
@@ -12,7 +12,7 @@
CxxStatement -> Statement
CxxStatement -> FunctionStatement
- Cxx ";" -> CxxStatement {cons("CxxStatement")}
+ Cxx ";" -> CxxStatement {cons("CxxStatement"),prefer}
Expression ";" -> FunctionStatement
{cons("ExpressionStatement")}
SimpleDeclaration -> FunctionStatement
"->" Expression ";" -> FunctionStatement
{cons("ReturnStatement")}