[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24074 - monkey/trunk/seaspider
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24074 - monkey/trunk/seaspider |
Date: |
Fri, 28 Sep 2012 11:33:26 +0200 |
Author: grothoff
Date: 2012-09-28 11:33:26 +0200 (Fri, 28 Sep 2012)
New Revision: 24074
Modified:
monkey/trunk/seaspider/C.jj
Log:
-making parser more tolerant
Modified: monkey/trunk/seaspider/C.jj
===================================================================
--- monkey/trunk/seaspider/C.jj 2012-09-28 09:32:12 UTC (rev 24073)
+++ monkey/trunk/seaspider/C.jj 2012-09-28 09:33:26 UTC (rev 24074)
@@ -97,6 +97,11 @@
SKIP : {
" "
+| <"WSAPI">
+| <"WSPAPI">
+| <"WSAAPI">
+| <"WINAPI">
+| <"__stdcall">
| <"GNUNET_ALIGN">
| <"GNUNET_UNUSED">
| <"GNUNET_NORETURN">
@@ -135,7 +140,7 @@
| <#EXPONENT: ["e","E"] (["+","-"])? (["0"-"9"])+>
|
< CHARACTER_LITERAL:
- "'"
+ ("L")? "'"
( (~["'","\\","\n","\r"])
| ("\\"
( ["n","t","b","r","f","\\","'","\""]
@@ -147,7 +152,7 @@
"'"
>
| < STRING_LITERAL:
- ("\""
+ ("L")? ("\""
( (~["\"","\\","\n","\r"])
| ("\\"
( ["n","t","b","r","f","\\","'","\""]
@@ -229,7 +234,7 @@
void StorageClassSpecifier() : {}
{
- ( <STATIC> | <EXTERN> )
+ ( <STATIC> | <EXTERN> ) [<VOLATILE>]
}
void TypeDeclaration() : {}
@@ -240,7 +245,7 @@
void DataType() : {}
{
- StructOrUnionSpecifier () <IDENTIFIER>
+ TypeSpecifier () <IDENTIFIER>
}
void FunctionType() : {}
@@ -267,7 +272,7 @@
void LocalVariableDeclaration() : {}
{
- [ <STATIC> ] VariableDeclaration ()
+ [ <STATIC> ] [<VOLATILE>] VariableDeclaration ()
}
void VariableClassSpecifier() : {}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24074 - monkey/trunk/seaspider,
gnunet <=