Commit 94e964e
authored
Elm: Rewritten using PackCC PEG parser (#3312)
* Elm: Rewritten using PackCC PEG parser.
* Tmain: Update tests for new Elm parser
* refactor: Remove Elm source generated by build system
* Elm: Fix parser error causing assertion failure.
Error reported is
```
ctags: main/numarray.c:178: intArrayRemoveLast: Assertion `current->count > 0' failed.
```
caused by unbalanced SET_SCOPE/POP_KIND. Thanks to Masaktake Yamato for
[finding the
cause](#3312 (review)).
* Elm,cosmetic: Add links in comments language reference.
* Style: Update generated win32 VS2013 files
Following an earlier comment, committed files generated
by `make -BC win32`.
Earlier comment is:
#3312 (comment)
* Elm,refactor: Use helper function for brevity.
* Elm: signature field becomes typeref:description field.
* Elm: Typerefs for constructors correctly include arrows.
* Elm: Function parameters appear as ctags signature.
* Elm: Misc fixes, including description -> typename.
- (Format) typeref:description: -> typeref:typename:
- (Refactor) Use isspace() for clarity.
- (Man page) Man page passes `make man-test`.
- (Comments) Remove incorrect task in comments.
- (Comments) Add thanks in comments.1 parent 1c7ca58 commit 94e964e
File tree
96 files changed
+2194
-168
lines changed- Tmain
- list-fields-with-prefix.d
- list-fields.d
- list-roles.d
- Units
- parser-elm.r
- elm-aliases.d
- elm-bad-lines.d
- elm-case-statements.d
- elm-comments.d
- elm-complex-types.d
- elm-constructor-signatures.d
- elm-expressions.d
- elm-functions.d
- elm-if-then-else.d
- elm-imports.d
- elm-just-comments.d
- elm-let-in.d
- elm-modules.d
- elm-multiline-strings.d
- elm-namespaces.d
- elm-optlist-compatibility.d
- elm-parameter-capture.d
- elm-parameter-patterns.d
- elm-ports.d
- elm-single-expressions.d
- elm-type-annotations.d
- elm-types.d
- simple-elm.d
- docs
- man
- main
- man
- optlib
- peg
- win32
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
96 files changed
+2194
-168
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
148 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments