aboutsummaryrefslogtreecommitdiffstats
path: root/libversit/vcc.y
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-09-02 02:09:57 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-09-02 02:09:57 +0800
commit523a46f844ab6855b6888984c3f7a40a13900d74 (patch)
treef14799480820b6ca3ccb7eb5a663e81bfc3d6c5b /libversit/vcc.y
parent4ed34315759b8bb3b701133bcb704b5a4891100c (diff)
downloadgsoc2013-evolution-523a46f844ab6855b6888984c3f7a40a13900d74.tar.gz
gsoc2013-evolution-523a46f844ab6855b6888984c3f7a40a13900d74.tar.zst
gsoc2013-evolution-523a46f844ab6855b6888984c3f7a40a13900d74.zip
Added call to GNOME_COMPILE_WARNINGS.
1999-09-01 Miguel de Icaza <miguel@gnu.org> * configure.in: Added call to GNOME_COMPILE_WARNINGS. * libversit: Removed all the rest of the C++ comments from C sources (per David's suggestion). 1999-09-01 David Kaelbling <drk@sgi.com> * card.c (strtoCardRev): Off by one error fix. svn path=/trunk/; revision=1153
Diffstat (limited to 'libversit/vcc.y')
-rw-r--r--libversit/vcc.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/libversit/vcc.y b/libversit/vcc.y
index 5c9a751913..7dde971f35 100644
--- a/libversit/vcc.y
+++ b/libversit/vcc.y
@@ -119,7 +119,7 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
#define YYDEBUG 0 /* 1 to compile in some debugging code */
#define MAXTOKEN 256 /* maximum token (line) length */
-#define YYSTACKSIZE 50 // ~unref ?
+#define YYSTACKSIZE 50 /* ~unref ? */
#define MAXLEVEL 10 /* max # of nested objects parseable */
/* (includes outermost) */
@@ -669,7 +669,7 @@ static char* lexLookaheadWord() {
int curgetptr = 0;
lexSkipWhite();
lexClearToken();
- curgetptr = (int)lexBuf.getPtr; // remember!
+ curgetptr = (int)lexBuf.getPtr; /* remember! */
while (len < (MAX_LEX_LOOKAHEAD_0)) {
c = lexGetc();
len++;
@@ -791,10 +791,10 @@ void initLex(const char *inputstring, unsigned long inputlen, CFile *inputfile)
void initLex(const char *inputstring, unsigned long inputlen, FILE *inputfile)
#endif
{
- // initialize lex mode stack
+ /* initialize lex mode stack */
lexBuf.lexModeStack[lexBuf.lexModeStackTop=0] = L_NORMAL;
- // iniatialize lex buffer.
+ /* iniatialize lex buffer. */
lexBuf.inputString = (char*) inputstring;
lexBuf.inputLen = inputlen;
lexBuf.curPos = 0;
@@ -858,7 +858,7 @@ static char * lexGetDataFromBase64()
} else { /* error condition */
if (bytes) free(bytes);
else if (oldBytes) free(oldBytes);
- // error recovery: skip until 2 adjacent newlines.
+ /* error recovery: skip until 2 adjacent newlines. */
DBG_(("db: invalid character 0x%x '%c'\n", c,c));
if (c != EOF) {
c = lexGetc();