Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2009-04-20 18:24:34 +0000
committerMike Kucera2009-04-20 18:24:34 +0000
commit0a80b06634e712cbe7c7a5e3256e87db8b464594 (patch)
tree86faef3455a40a88a9843f4819cb14588f4aed92 /lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g
parent21e1364cb500e824afcec492012db84094d92db5 (diff)
downloadorg.eclipse.cdt-0a80b06634e712cbe7c7a5e3256e87db8b464594.tar.gz
org.eclipse.cdt-0a80b06634e712cbe7c7a5e3256e87db8b464594.tar.xz
org.eclipse.cdt-0a80b06634e712cbe7c7a5e3256e87db8b464594.zip
[272950] [LR Parser] Add ability to pass properties to extending parsers and update (regenerate) the parsers to support this.
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g b/lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g
index b449829d1f6..50c66497a53 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g
+++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/template/LRSecondaryParserTemplate.g
@@ -56,8 +56,8 @@ $Headers
addToken(new Token(null, 0, 0, $sym_type.TK_EOF_TOKEN));
}
- public $action_type(ITokenStream stream, Set<IParser.Options> options) { // constructor for creating secondary parser
- initActions(options);
+ public $action_type(ITokenStream stream, Map<String,String> properties) { // constructor for creating secondary parser
+ initActions(properties);
tokenMap = new TokenMap($sym_type.orderedTerminalSymbols, stream.getOrderedTerminalSymbols());
}

Back to the top