[Redbutton-devel] SF.net SVN: redbutton: [409] redbutton-author/trunk/ccc.y
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-09-21 16:26:50
|
Revision: 409
http://redbutton.svn.sourceforge.net/redbutton/?rev=409&view=rev
Author: skilvington
Date: 2007-09-21 09:26:48 -0700 (Fri, 21 Sep 2007)
Log Message:
-----------
make the auto-generated code look beautiful!
Modified Paths:
--------------
redbutton-author/trunk/ccc.y
Modified: redbutton-author/trunk/ccc.y
===================================================================
--- redbutton-author/trunk/ccc.y 2007-09-21 16:17:21 UTC (rev 408)
+++ redbutton-author/trunk/ccc.y 2007-09-21 16:26:48 UTC (rev 409)
@@ -436,8 +436,8 @@
while(item)
{
char *tok_name = unquote(item->name);
- buf_append(&state.parse_fns, "\t/* %s */\n", item->name);
- buf_append(&state.parse_fns, "\texpect_token(%s, %s);\n\n", tok_name, item->name);
+ buf_append(&state.parse_fns, "\n\t/* %s */\n", item->name);
+ buf_append(&state.parse_fns, "\texpect_token(%s, %s);\n", tok_name, item->name);
free(tok_name);
item = item->next;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|