git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4588
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-01-20 Borut Razem <borut.razem AT siol.net>
+
+ * src/SDCC.lex, src/SDCCmain.c, sdc/SDCCglobl.h, doc/sdccman.lyx:
+ implemented RFE #1470316: allow "$" in variable names
+
2007-01-20 Raphael Neider <rneider AT web.de>
* device/include/pic/pic14regs.h: reverted accidental wipe of the file
dbuf_append_char(&dbuf, '"'); /* Pass end of this string or substring to evaluator */
while ((ch = input()) && (isspace(ch) || ch == '\\' || ch == '#'))
{
- count_char(ch);
-
switch (ch)
{
case '\\':
+ count_char(ch);
if ((ch = input()) != '\n')
{
werror(W_STRAY_BACKSLASH, column);
else
count_char(ch);
}
- else
- count_char(ch);
- break;
+ else
+ count_char(ch);
+ break;
case '\n':
count_char(ch);
struct dbuf_s linebuf;
const char *line;
+ count_char(ch);
+
dbuf_init(&linebuf, STR_BUF_CHUNCK_LEN);
dbuf_append_char(&linebuf, '#');
dbuf_destroy(&linebuf);
}
+ else
+ unput(ch);
+ break;
+
+ default:
+ count_char(ch);
+ break;
}
}