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

Java code Parse error on "... int RSV_BITMASK = 0b100;" #22

Open
Rtfsc-8 opened this issue Jan 17, 2019 · 0 comments
Open

Java code Parse error on "... int RSV_BITMASK = 0b100;" #22

Rtfsc-8 opened this issue Jan 17, 2019 · 0 comments

Comments

@Rtfsc-8
Copy link

Rtfsc-8 commented Jan 17, 2019

Java source code tomcat_8_5_3

Debug error message:

  1. .config/StarUML/extensions/user/staruml.java/code-analyzer.js:167

[Java] Failed to parse - /tomcat85/java/org/apache/tomcat/websocket/PerMessageDeflate.java

__dirname.performFirstPhase.options._files.forEach.file @ .config/StarUML/extensions/user/staruml.java/code-analyzer.js:167
performFirstPhase @ .config/StarUML/extensions/user/staruml.java/code-analyzer.js:159
analyze @ .config/StarUML/extensions/user/staruml.java/code-analyzer.js:136
analyze @ .config/StarUML/extensions/user/staruml.java/code-analyzer.js:1166
_handleReverse @ .config/StarUML/extensions/user/staruml.java/main.js:100
execute @ app.asar/src/engine/command-manager.js:93
ipcRenderer.on.args @ app.asar/src/app-context.js:673
emitThree @ events.js:116
emit @ events.js:197
  1. .config/StarUML/extensions/user/staruml.java/code-analyzer.js:168
Error: Parse error on line 42:
... int RSV_BITMASK = 0b100;    private st
-----------------------^
Expecting 'SEMI', 'COMMA', got 'Identifier'
    at Parser.parseError (.config/StarUML/extensions/user/staruml.java/grammar/java7.js:1617:15)
    at Parser.parse (.config/StarUML/extensions/user/staruml.java/grammar/java7.js:1675:22)
    at Object.exports.parse (.config/StarUML/extensions/user/staruml.java/grammar/java7.js:2438:50)
    at __dirname.performFirstPhase.options._files.forEach.file (.config/StarUML/extensions/user/staruml.java/code-analyzer.js:162:25)
    at Array.forEach (native)
    at JavaCodeAnalyzer.performFirstPhase (.config/StarUML/extensions/user/staruml.java/code-analyzer.js:159:17)
    at JavaCodeAnalyzer.analyze (.config/StarUML/extensions/user/staruml.java/code-analyzer.js:136:10)
    at Object.analyze (.config/StarUML/extensions/user/staruml.java/code-analyzer.js:1166:16)
    at _handleReverse (.config/StarUML/extensions/user/staruml.java/main.js:100:20)
    at CommandManager.execute (app.asar/src/engine/command-manager.js:93:22)

Thks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant