summaryrefslogtreecommitdiffstats
path: root/sipgen
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-09 20:32:41 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-10 01:10:25 +0100
commitc1d6f4a527723728aeb28026f62461c146e3b716 (patch)
treea54acf7661fcd0e88d7dd2b080150967be2163e4 /sipgen
parent123b20b74727a79a2dd84d8f90b3a47ce76a7ad6 (diff)
downloadsip4-tqt-c1d6f4a527723728aeb28026f62461c146e3b716.tar.gz
sip4-tqt-c1d6f4a527723728aeb28026f62461c146e3b716.zip
Fix the mismatch of tokens TK_TQOBJECT × TK_QOBJECT and
TK_TQCHAR × TK_QCHAR between lexer and parser. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'sipgen')
-rw-r--r--sipgen/parser.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/sipgen/parser.y b/sipgen/parser.y
index 86885c3..0c4d803 100644
--- a/sipgen/parser.y
+++ b/sipgen/parser.y
@@ -262,13 +262,13 @@ static int isEnabledFeature(const char *name);
%token TK_PLATFORMS
%token TK_FEATURE
%token TK_LICENSE
-%token <qchar> TK_QCHAR
+%token <qchar> TK_TQCHAR
%token TK_TRUE
%token TK_FALSE
%token TK_NULL
%token TK_OPERATOR
%token TK_THROW
-%token TK_QOBJECT
+%token TK_TQOBJECT
%token TK_EXCEPTION
%token TK_RAISECODE
%token TK_EXPLICIT
@@ -1403,7 +1403,7 @@ simplevalue: scopedname {
$$.vtype = string_value;
$$.u.vstr = $1;
}
- | TK_QCHAR {
+ | TK_TQCHAR {
$$.vtype = qchar_value;
$$.u.vqchar = $1;
}
@@ -2355,7 +2355,7 @@ argvalue: TK_SIPSIGNAL optname optflags optassign {
currentSpec -> sigslots = TRUE;
}
- | TK_QOBJECT optname optflags {
+ | TK_TQOBJECT optname optflags {
$$.atype = qobject_type;
$$.argflags = 0;
$$.nrderefs = 0;