TypeFox / yang-lsp

A Language Server for YANG
http://www.yang-central.org
Apache License 2.0
51 stars 13 forks source link

XpathExpr doesn't accept non token-boundaries concatenated String #204

Closed dhuebner closed 3 years ago

dhuebner commented 3 years ago

In some generated files the XPath is concatenated inside an identifier see #113

This fix squashes tokens in case of " + " ("+" is represented as two hidden tokens from STRING_CONCAT ) in one token

github-actions[bot] commented 3 years ago

Unit Test Results

0 files   -      58  0 suites   - 58   0s :stopwatch: -54s 0 tests  - 1 611  0 :heavy_check_mark:  - 1 610  0 :zzz:  - 1  0 :x: ±0 

Results for commit f93d20c5. ± Comparison against base commit 4f431948.

github-actions[bot] commented 3 years ago

Unit Test Results

     58 files  ±0       58 suites  ±0   56s :stopwatch: +2s 1 614 tests +3  1 613 :heavy_check_mark: +3  1 :zzz: ±0  0 :x: ±0 

Results for commit d4bc6854. ± Comparison against base commit 4f431948.

github-actions[bot] commented 3 years ago

Unit Test Results

  40 files  ±0    40 suites  ±0   5s :stopwatch: ±0s 274 tests ±0  273 :heavy_check_mark: ±0  0 :zzz: ±0  1 :x: ±0 

For more details on these failures, see this check.

Results for commit 17c43dbf. ± Comparison against base commit 17c43dbf.

github-actions[bot] commented 3 years ago

Unit Test Results

  40 files  ±0    40 suites  ±0   5s :stopwatch: ±0s 274 tests ±0  273 :heavy_check_mark: ±0  0 :zzz: ±0  1 :x: ±0 

For more details on these failures, see this check.

Results for commit 17c43dbf. ± Comparison against base commit 17c43dbf.