Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CCScript 1.337 (LEGACY)
CCScript 1.401
=======================

This is the older, crappier version of CCScript, last updated Auguest 24, 2009.
This version is no longer maintained; this repository exists mainly for easy
reference in the development of CCScript 2, but also to track some minor tweaks
to CCScript 1.3's build system and code so that it can actually be compiled on
non-Windows platforms.
This version is not frequently maintained; this repository exists mainly for
easy reference in the development of CCScript 2, but also to track some minor
tweaks to CCScript 1's build system and code so that it can actually be
compiled on non-Windows platforms.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
extra_compile_args = ["-std=c++11"]

setup(name="ccscript",
version="1.339",
version="1.401",
description="ccscript",
url="http://starmen.net/pkhack/ccscript",
ext_modules=[
Expand Down
2 changes: 1 addition & 1 deletion src/ccc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ string getbasepath(const char* p)

void printversion()
{
cout << "ccc version 1.339 Duck Tape Edition" << endl;
cout << "ccc version 1.401 Duck Tape Edition" << endl;
}

void printusage()
Expand Down
4 changes: 3 additions & 1 deletion src/lexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ symbol Lexer::LexSymbol()
return LexNumber();
}
else {
Error(string("unexpected character '") + current + "'");
char buf[8];
snprintf(buf, 8, "%02X", (unsigned int)(current & 0xFF));
Error(string("unexpected character 0x") + buf);
Next();
continue;
}
Expand Down