From 2b8e505ea9d8baf065a08f95e607847a530cebfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Fri, 18 Nov 2016 13:36:52 +0900 Subject: [PATCH] grammar_and_parser.md: cleanup --- tutorials/custom_language_support/grammar_and_parser.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/custom_language_support/grammar_and_parser.md b/tutorials/custom_language_support/grammar_and_parser.md index 321a01b54..c4eeefa5d 100644 --- a/tutorials/custom_language_support/grammar_and_parser.md +++ b/tutorials/custom_language_support/grammar_and_parser.md @@ -30,9 +30,9 @@ This lets the IDE still recognise incorrectly defined properties and provide cor ### 3.4. Generate a parser -Now when the grammar is defined we can generate a parser with PSI classes via *Generate Parser Code* from the context menu or via *⌘⇧G* shortcut on *Simple.bnf* file. -The Grammar-Kit will generate a parser and PSI elements in *gen* folder. -Mark this folder as a source root and make sure everything is compiled without errors. +Now when the grammar is defined we can generate a parser with PSI classes via *Generate Parser Code* from the context menu on *Simple.bnf* file. +This will generate a parser and PSI elements in *gen* folder. +Mark this folder as *Generated Sources Root* and make sure everything is compiled without errors. ![Parser](img/generated_parser.png)