]> andersk Git - splint.git/blobdiff - src/llgrammar.y
Fixed -help <mode> bug.
[splint.git] / src / llgrammar.y
index 3ca2b4afd68cf7b3b07e524fde84489c62f478d2..6bebe4076ae975fd81c092548049b6afdc7a3e5b 100644 (file)
@@ -1,6 +1,6 @@
 /*;-*-C-*-;
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -27,7 +27,7 @@
 %{
 
 # include "splintMacros.nf"
-# include "llbasic.h"
+# include "basic.h"
 # include "lclscan.h"
 # include "checking.h"
 # include "lslparse.h" 
@@ -1361,10 +1361,10 @@ lclPrimary
 */
 
 cLiteral   
- : LLT_CINTEGER  { $$ = makeLiteralTermNode ($1, sort_int); }
- | LLT_LCSTRING  { $$ = makeLiteralTermNode ($1, sort_cstring); }
- | LLT_CCHAR     { $$ = makeLiteralTermNode ($1, sort_char); }
- | LLT_CFLOAT    { $$ = makeLiteralTermNode ($1, sort_double); }
+ : LLT_CINTEGER  { $$ = makeLiteralTermNode ($1, g_sortInt); }
+ | LLT_LCSTRING  { $$ = makeLiteralTermNode ($1, g_sortCstring); }
+ | LLT_CCHAR     { $$ = makeLiteralTermNode ($1, g_sortChar); }
+ | LLT_CFLOAT    { $$ = makeLiteralTermNode ($1, g_sortDouble); }
 ;
 
 quantifiers   
This page took 0.042507 seconds and 4 git commands to generate.