diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/translators/btparse/input.c | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip |
TQt4 port tellico
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/translators/btparse/input.c')
-rw-r--r-- | src/translators/btparse/input.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/translators/btparse/input.c b/src/translators/btparse/input.c index dbb7b44..c50468e 100644 --- a/src/translators/btparse/input.c +++ b/src/translators/btparse/input.c @@ -164,7 +164,7 @@ finish_parse (int **err_counts) @RETURNS : false if there were serious errors in the recently-parsed input true otherwise (no errors or just warnings) @DESCRIPTION: Gets the "error status" bitmap relative to a saved set of - error counts and masks of non-serious errors. + error counts and tqmasks of non-serious errors. @GLOBALS : @CALLS : @CALLERS : @@ -174,17 +174,17 @@ finish_parse (int **err_counts) static boolean parse_status (int *saved_counts) { - ushort ignore_emask; + ushort ignore_etqmask; /* * This bit-twiddling fetches the error status (which has a bit - * for each error class), masks off the bits for trivial errors + * for each error class), tqmasks off the bits for trivial errors * to get "true" if there were any serious errors, and then * returns the opposite of that. */ - ignore_emask = + ignore_etqmask = (1<<BTERR_NOTIFY) | (1<<BTERR_CONTENT) | (1<<BTERR_LEXWARN); - return !(bt_error_status (saved_counts) & ~ignore_emask); + return !(bt_error_status (saved_counts) & ~ignore_etqmask); } @@ -237,7 +237,7 @@ AST * bt_parse_entry_s (char * entry_text, return NULL; } - zzast_sp = ZZAST_STACKSIZE; /* workaround apparent pccts bug */ + zzast_sp = ZZAST_STACKSIZE; /* workaround aptqparent pccts bug */ start_parse (NULL, entry_text, line); entry (&entry_ast); /* enter the parser */ @@ -364,7 +364,7 @@ AST * bt_parse_entry (FILE * infile, * functions? */ - zzast_sp = ZZAST_STACKSIZE; /* workaround apparent pccts bug */ + zzast_sp = ZZAST_STACKSIZE; /* workaround aptqparent pccts bug */ #if defined(LL_K) || defined(ZZINF_LOOK) || defined(DEMAND_LOOK) # error One of LL_K, ZZINF_LOOK, or DEMAND_LOOK was defined |