yasuyuky/autocomplete-clang

Uncaught SyntaxError: Invalid regular expression: /^Dumping/s(?:[A-Za-z_]*::)*?):/: Unmatched ')'

dbasberg opened this issue · 1 comments

[Enter steps to reproduce:]

  1. ...goto declaration from mouse right click while at #include htu.h
  2. ...

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Home
Thrown From: autocomplete-clang package 0.11.4

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /^Dumping\s(?:[A-Za-z_]::)?):/: Unmatched ')'

At C:\Users\dbasberg\.atom\packages\autocomplete-clang\lib\autocomplete-clang.coffee:126

SyntaxError: Invalid regular expression: /^Dumping\s(?:[A-Za-z_]*::)*?):/: Unmatched ')'
    at RegExp (<anonymous>)
    at Object.parseAstDump (/packages/autocomplete-clang/lib/autocomplete-clang.coffee:126:31)
    at Object.handleGoDeclarationResult (/packages/autocomplete-clang/lib/autocomplete-clang.coffee:107:15)
    at /packages/autocomplete-clang/lib/autocomplete-clang.coffee:87:16
    at exit (/packages/autocomplete-clang/lib/clang-args-builder.coffee:21:11)
    at triggerExitCallback (C:/ProgramData/dbasberg/atom/app-1.23.3/resources/app/src/buffered-process.js:338:17)
    at ChildProcess.<anonymous> (C:/ProgramData/dbasberg/atom/app-1.23.3/resources/app/src/buffered-process.js:368:17)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Commands

     -8:04.7.0 tree-view:paste (span.name.icon.icon-file-directory)
     -7:49.6.0 core:save (div.tool-panel.tree-view)
     -7:48 platformio-ide:target:build (div.tool-panel.tree-view)
     -7:48 platformio-ide:target:build-C:\REPOS\luca-esp32\esp32-tutorial\21_mqtt (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -7:22.7.0 core:move-right (input.hidden-input)
  3x -7:21.2.0 core:backspace (input.hidden-input)
     -7:14.8.0 core:save (input.hidden-input)
     -7:11.4.0 platformio-ide:target:build (input.hidden-input)
     -7:11.4.0 platformio-ide:target:build-C:\REPOS\luca-esp32\esp32-tutorial\21_mqtt (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -5:05.3.0 linter-ui-default:toggle-panel (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -4:40.3.0 platformio-ide:target:clean (input.hidden-input)
     -4:40.2.0 platformio-ide:target:clean-C:\REPOS\luca-esp32\esp32-tutorial\21_mqtt (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -4:23.3.0 platformio-ide:target:build (input.hidden-input)
     -4:23.3.0 platformio-ide:target:build-C:\REPOS\luca-esp32\esp32-tutorial\21_mqtt (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -1:16.6.0 linter-ui-default:toggle-panel (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -0:20.9.0 autocomplete-clang:go-declaration (span.syntax--string.syntax--quoted.syntax--double.syntax--include.syntax--c)

Non-Core Packages

autocomplete-clang 0.11.4 
build 0.70.0 
busy-signal 1.4.3 
file-icons 2.1.15 
intentions 1.1.5 
language-ini 1.19.0 
linter 2.2.0 
linter-gcc 0.7.1 
linter-ui-default 1.6.10 
platformio-ide 2.0.1 
platformio-ide-debugger 1.2.5 
platformio-ide-terminal 2.8.0 
tool-bar 1.1.0 
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.