Commit Graph

26 Commits

Author SHA1 Message Date
Allen Webster 369ebd7a62 [docs] catch up to new map integration; change function forward declarations for map 2021-03-21 20:40:43 -07:00
Miguel Lechon 7a06b11f49 Remove catastrophic from MD_Error and add MD_MessageKind to it. 2021-03-18 18:24:41 +01:00
Miguel Lechon eef82b0554 Pipe error location through error->node. 2021-03-18 17:40:06 +01:00
Miguel Lechon 6026c3639d Remove MD_Map aliases. 2021-03-16 19:15:48 +01:00
Miguel Lechon 541a5443b6 Test and avoid MD_StringMap collisions. 2021-03-16 19:05:48 +01:00
Miguel Lechon 55943b79fc Move map into md.h asn md_impl.c. 2021-03-16 11:28:41 +01:00
Miguel Lechon fed011fc52 Switch to map_proposal. 2021-03-16 11:11:13 +01:00
Miguel Lechon d5ab0e88df Rename MD_TokenKind_NonASCII to MD_TokenKind_BadCharacter. 2021-03-16 09:46:53 +01:00
Allen Webster 52fdfdbc38 fixup docs to match this version of the code 2021-03-14 18:43:23 -07:00
Allen Webster b72a53e84c copy over docs from the wrong repo; take out error/warning wrappers 2021-03-14 17:54:04 -07:00
Allen Webster a0ef78a49a trim -> skip/chop 2021-03-14 17:40:57 -07:00
Allen Webster 9fe3c0f09a string split cleanup 2021-03-14 17:37:30 -07:00
Miguel Lechon 084d55d55d Report and skip non-ASCII characters. 2021-03-14 12:12:30 +01:00
Miguel Lechon 701b77e118 Parsing errors for unbalanced sets and text literals. 2021-03-10 18:32:29 +01:00
Miguel Lechon b72890d44e before_comment fix.
When two or more comments are followed by a node, use the closest
comment as the before_comment. Prior to the fix, this combination
left node unbefore_commented:
// comment1 \n // comment2 \n node
2021-03-04 15:18:42 +01:00
Miguel Lechon e7dfe525c5 Radix for MD_I64FromString. 2021-03-03 13:14:56 +01:00
Miguel Lechon 4e8bfbee03 MD_ZERO_STRUCT instead of {0}. 2021-02-11 11:49:49 +01:00
ryanfleury ba6286f379 pre- and post- comment parsing for nodes 2021-02-09 08:50:06 -07:00
ryanfleury 47fe753411 write out initial basic namespace parsing, without affecting anything 2021-02-09 08:27:24 -07:00
ryanfleury 9253bd0de8 remove MD_NodeKind_UnnamedSet; simplify to MD_NodeKind_Label with zero-string 2021-02-09 08:11:07 -07:00
ryanfleury fbe34cd2b8 require token kind to be passed in MD_Parse_Require, to avoid detecting strings that are in string constants 2021-02-06 20:26:39 -07:00
ryanfleury 9da8264116 add const and volatile to type exprs; fix tag list parsing bug, restrict '@'s to symbol tokens 2021-02-06 20:23:29 -07:00
Miguel Lechon d96d76f167 Linux-specific directory listing. 2021-01-31 09:09:53 +01:00
ryanfleury 1a2a47e88d Move all ExprKind metadata into a single table 2021-01-22 14:03:16 -07:00
ryanfleury 2d0e40637b Add license file, and license information to all files=. 2021-01-21 23:46:17 -07:00
ryanfleury 90fc1de709 Initial upload 2021-01-20 11:19:34 -07:00