Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ship copy of GeneratedParserUtilBase #406

Merged
merged 1 commit into from Sep 2, 2016
Merged

Ship copy of GeneratedParserUtilBase #406

merged 1 commit into from Sep 2, 2016

Conversation

KronicDeth
Copy link
Owner

@KronicDeth KronicDeth commented Sep 2, 2016

Fixes #293
Fixes #302
Fixes #328
Fixes #385
Fixes #386
Fixes #391
Fixes #402

Changelog

Bug Fix

  • The generated ElixirParser uses the GeneratedParserUtilBase from com.intellij.lang.parser, but since that version is a synced copy, it is a snapshot of GeneratedParserUtilBase from the version of GrammarKit that was current when the IDE was released. To ensure the generated parser works on all the IDEs, copy GeneratedParserUtilBase from org.intellij.grammar.parser into org.elixir_lang.grammar.parser and then use that version in ElixirParser. This ensures neither the IDE's version nor the version in any installed GrammarKit plugin is used.

    NOTE: This copy needs to be updated if the build machine updates its
    GrammarKit plugin.

    So, I'm fixing errors from intellij-community having a sync-ed copy of
    GeneratedParserUtilBase, by making my own synced copy...

The generated ElixirParser uses the GeneratedParserUtilBase from
com.intellij.lang.parser, but since that version is a synced copy, it is
a snapshot of GeneratedParserUtilBase from the version of GrammarKit
that was current when the IDE was released.  To ensure the generated
parser works on all the IDEs, copy GeneratedParserUtilBase from
org.intellij.grammar.parser into org.elixir_lang.grammar.parser and then
use that version in ElixirParser.  This ensures neither the IDE's
version nor the version in any installed GrammarKit plugin is used.

NOTE: This copy needs to be updated if the build machine updates its
GrammarKit plugin.

So, I'm fixing errors from intellij-community having a sync-ed copy of
GeneratedParserUtilBase, by making my own synced copy...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment