]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/input.cc
Random stuff.
[polintos/scott/priv.git] / idlcomp / input.cc
index f7724193f73c6b3ebaaa70cc1c33ee80991a0c12..80a5f876edbedc7cecd26dba13e0573706db2618 100644 (file)
@@ -1,7 +1,16 @@
-/* input.cc -- Code to load symbols from a legacy filesystem
- *
- * Written by Scott Wood <scott@buserror.net>
- */
+// Code to load symbols from a legacy filesystem
+//
+// This software is copyright (c) 2006 Scott Wood <scott@buserror.net>.
+// 
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors or contributors be held liable for any damages
+// arising from the use of this software.
+// 
+// Permission is hereby granted to everyone, free of charge, to use, copy,
+// modify, prepare derivative works of, publish, distribute, perform,
+// sublicense, and/or sell copies of the Software, provided that the above
+// copyright notice and disclaimer of warranty be included in all copies or
+// substantial portions of this software.
 
 #include <cstdio>
 #include <vector>
@@ -262,7 +271,7 @@ StrList::StrList(const String *input, char delimeter)
        const char *cur = input->c_str();
        
        do {
-               char *next = strchr(cur, delimeter);
+               const char *next = strchr(cur, delimeter);
                String *s = new String();
                s->token = TOK_IDENT;