- Bump ACC to 1.49.

- Fixed: ACC did not accept '\\' as a valid character escape sequence.

SVN r2159 (trunk)
This commit is contained in:
Randy Heit 2010-02-14 02:13:04 +00:00
parent b4097c81ec
commit 78d4936647
3 changed files with 4 additions and 3 deletions

View file

@ -18,7 +18,7 @@ endif
CFLAGS = -Os -Wall -W -fomit-frame-pointer CFLAGS = -Os -Wall -W -fomit-frame-pointer
LDFLAGS = -s LDFLAGS = -s
VERNUM = 148 VERNUM = 149
OBJS = \ OBJS = \
acc.o \ acc.o \
@ -143,4 +143,4 @@ zipbin: $(EXENAME) $(ACS)
kzip /y acc$(VERNUM).zip $(EXENAME) $(ACS) kzip /y acc$(VERNUM).zip $(EXENAME) $(ACS)
zipwbin: Release/acc.exe $(ACS) zipwbin: Release/acc.exe $(ACS)
kzip /y acc$(VERNUM)win.zip acc.exe $(ACS) kzip /y acc$(VERNUM)win.zip Release/acc.exe $(ACS)

2
acc.c
View file

@ -22,7 +22,7 @@
// MACROS ------------------------------------------------------------------ // MACROS ------------------------------------------------------------------
#define VERSION_TEXT "1.48" #define VERSION_TEXT "1.49"
#define COPYRIGHT_YEARS_TEXT "1995" #define COPYRIGHT_YEARS_TEXT "1995"
// TYPES ------------------------------------------------------------------- // TYPES -------------------------------------------------------------------

View file

@ -1379,6 +1379,7 @@ static void ProcessSpecialToken(void)
tk_Number = '\r'; tk_Number = '\r';
break; break;
case '\'': case '\'':
case '\\':
tk_Number = Chr; tk_Number = Chr;
break; break;
default: default: