summaryrefslogtreecommitdiffstats
path: root/src/translators/btparse/lex_auxiliary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/btparse/lex_auxiliary.c')
-rw-r--r--src/translators/btparse/lex_auxiliary.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/translators/btparse/lex_auxiliary.c b/src/translators/btparse/lex_auxiliary.c
index 9e5b452..097fcb6 100644
--- a/src/translators/btparse/lex_auxiliary.c
+++ b/src/translators/btparse/lex_auxiliary.c
@@ -107,7 +107,7 @@ static int JunkCount; /* non-whitespace chars at toplevel */
* brace depth within a string; we can only end the current string
* when this is zero
* ParenDepth:
- * tqparenthesis depth within a string; needed for @comment entries
+ * parenthesis depth within a string; needed for @comment entries
* that are paren-delimited (because the comment in that case is
* a paren-delimited string)
* StringOpener:
@@ -117,7 +117,7 @@ static int JunkCount; /* non-whitespace chars at toplevel */
* StringStart:
* line on which current string started; if we detect an aptqparent
* runaway, this is used to report where the runaway started
- * AptqparentRunaway:
+ * ApparentRunaway:
* flags if we have already detected (and warned) that the current
* string appears to be a runaway, so that we don't warn again
* (and again and again and again)
@@ -130,9 +130,9 @@ static int JunkCount; /* non-whitespace chars at toplevel */
*/
static char StringOpener = '\0'; /* '{' or '"' */
static int BraceDepth; /* depth of brace-nesting */
-static int ParenDepth; /* depth of tqparenthesis-nesting */
+static int ParenDepth; /* depth of parenthesis-nesting */
static int StringStart = -1; /* start line of current string */
-static int AptqparentRunaway; /* current string looks like runaway */
+static int ApparentRunaway; /* current string looks like runaway */
static int QuoteWarned; /* already warned about " in string? */
@@ -590,7 +590,7 @@ void start_string (char start_char)
BraceDepth = 0;
ParenDepth = 0;
StringStart = zzline;
- AptqparentRunaway = 0;
+ ApparentRunaway = 0;
QuoteWarned = 0;
if (start_char == '{')
open_brace ();
@@ -598,7 +598,7 @@ void start_string (char start_char)
ParenDepth++;
if (start_char == '"' && EntryState == in_comment)
{
- lexical_error ("comment entries must be delimited by either braces or tqparentheses");
+ lexical_error ("comment entries must be delimited by either braces or parentheses");
EntryState = toplevel;
zzmode (START);
return;
@@ -878,7 +878,7 @@ void check_runaway_string (void)
}
- if (!AptqparentRunaway) /* haven't already warned about it */
+ if (!ApparentRunaway) /* haven't already warned about it */
{
enum { none, entry, field, giveup } guess;
@@ -930,7 +930,7 @@ void check_runaway_string (void)
{
lexical_warning ("possible runaway string started at line %d",
StringStart);
- AptqparentRunaway = 1;
+ ApparentRunaway = 1;
}
}