[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13614 - gnunet/src/monkey/seaspider
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13614 - gnunet/src/monkey/seaspider |
Date: |
Mon, 8 Nov 2010 15:34:03 +0100 |
Author: grothoff
Date: 2010-11-08 15:34:03 +0100 (Mon, 08 Nov 2010)
New Revision: 13614
Modified:
gnunet/src/monkey/seaspider/C.jj
Log:
more
Modified: gnunet/src/monkey/seaspider/C.jj
===================================================================
--- gnunet/src/monkey/seaspider/C.jj 2010-11-08 13:21:12 UTC (rev 13613)
+++ gnunet/src/monkey/seaspider/C.jj 2010-11-08 14:34:03 UTC (rev 13614)
@@ -45,6 +45,10 @@
- Support certain gcc-isms (unsigned long long, 33LL, etc.)
- No support for certain older C constructs
- Support for magic "GNUNET_PACKED" construct (extra "IDENTIFIER" in struct)
+
+8/11/10: Modified some more by Christian Grothoff
+- support for arguments without variable names (in particular, just 'void')
+- support for string concatenations
*/
PARSER_BEGIN(CParser)
@@ -137,7 +141,7 @@
"'"
>
| < STRING_LITERAL:
- "\""
+ ("\""
( (~["\"","\\","\n","\r"])
| ("\\"
( ["n","t","b","r","f","\\","'","\""]
@@ -146,7 +150,7 @@
)
)
)*
- "\""
+ "\"")+
>
}
@@ -575,6 +579,9 @@
void Constant() : {}
{
- <INTEGER_LITERAL> | <FLOATING_POINT_LITERAL> | <CHARACTER_LITERAL> |
<STRING_LITERAL>
+ <INTEGER_LITERAL> |
+ <FLOATING_POINT_LITERAL> |
+ <CHARACTER_LITERAL> |
+ (<STRING_LITERAL>)+
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13614 - gnunet/src/monkey/seaspider,
gnunet <=