]> git.draconx.ca Git - cdecl99.git/commitdiff
Fix error name of ellipsis token.
authorNick Bowler <nbowler@draconx.ca>
Thu, 14 Jul 2011 23:40:39 +0000 (19:40 -0400)
committerNick Bowler <nbowler@draconx.ca>
Mon, 18 Jul 2011 23:23:51 +0000 (19:23 -0400)
So it says unexpected ... instead of unexpected .

src/parse.y

index c76bc65035fd6b88d72a4d9c2c8b058a2d157a66..5887e4dbadce7ce200f4fd5bad371ef0c68cc23c 100644 (file)
@@ -152,7 +152,7 @@ void cdecl_free(struct cdecl *decl)
 %token T_LBRACKET  "["
 %token T_RBRACKET  "]"
 %token T_COMMA     ","
-%token T_ELLIPSIS  "."
+%token T_ELLIPSIS  "..."
 
 %token T_TYPEDEF   "typedef"
 %token T_EXTERN    "extern"