summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-08-03 22:14:41 +0000
committerfche <fche>2005-08-03 22:14:41 +0000
commitd5d7c2cc6123580686d5934d83e2b41a8a90cfbb (patch)
tree422cea4c21dfe40927a5bf90784edd796ee2c45c /parse.cxx
parent863c02e866122ff21bcba6253b8addfd39703136 (diff)
downloadsystemtap-steved-d5d7c2cc6123580686d5934d83e2b41a8a90cfbb.tar.gz
systemtap-steved-d5d7c2cc6123580686d5934d83e2b41a8a90cfbb.tar.xz
systemtap-steved-d5d7c2cc6123580686d5934d83e2b41a8a90cfbb.zip
2005-08-03 Frank Ch. Eigler <fche@redhat.com>
* stap.1: More meat, all stub sections filled. * elaborate.cxx (visit_assignment): Add numerous missing cases. * parse.cxx: Parse ".=" operator. * testsuite/semok/sixteen.stp: Check them. * main.cxx (usage): Don't show incompletely supported options.
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.cxx b/parse.cxx
index ca3337b6..9e91f5b7 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -355,6 +355,7 @@ lexer::scan ()
s2 == "&=" ||
s2 == "^=" ||
s2 == "|=" ||
+ s2 == ".=" ||
s2 == "&&" ||
s2 == "||" ||
s2 == "++" ||
@@ -1109,6 +1110,7 @@ parser::parse_assignment ()
t->content == "&=" ||
t->content == "^=" ||
t->content == "|=" ||
+ t->content == ".=" ||
false))
{
// NB: lvalueness is checked during elaboration / translation