From 80656d68a0838483ea2988adf028e2d85292a109 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 3 Dec 2016 20:06:06 +0100 Subject: Bug 707266 - C++/CLI indexed property not documented --- src/scanner.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scanner.l b/src/scanner.l index 1fe5667..14bf3fc 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1014,7 +1014,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->name = yytext; } "[" { // C++/CLI indexed property - current->name += yytext; + current->args = "["; BEGIN( CliPropertyIndex ); } "{" { @@ -1037,10 +1037,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) } "]" { BEGIN( CliPropertyType ); - current->name+=yytext; + current->args+=yytext; } . { - current->name+=yytext; + current->args+=yytext; } /* {B}*"property"{BN}+ { -- cgit v0.12