Changeset 383 for trunk/nomc/c/util.c
- Timestamp:
- Jul 2, 2008, 11:39:12 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/nomc/c/util.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/nomc/c/util.c
r380 r383 246 246 if(!matchNext(token)) 247 247 { 248 getNextToken(); /* Make sure error references the correct token */ \248 getNextToken(); /* Make sure error references the correct token */ 249 249 g_scanner_unexp_token(gScanner, 250 250 token, … … 256 256 } 257 257 258 void exitIfNotMatchNextKind(guint uiKind, gchar* msg) 259 { 260 if(!matchNextKind(uiKind)) 261 { 262 getNextToken(); /* Make sure error references the correct token */ 263 g_scanner_unexp_token(gScanner, 264 G_TOKEN_IDENTIFIER, 265 NULL, NULL, NULL, 266 msg, 267 TRUE); /* is_error */ 268 cleanupAndExit(1); 269 } 270 }
Note:
See TracChangeset
for help on using the changeset viewer.
