Commit graph

904 commits

Author SHA1 Message Date
alisdair sullivan
07836d5d58 update types of jsx exported functions 2013-03-05 20:02:52 -08:00
alisdair sullivan
f8c749497f updated comments in decoder 2013-03-05 19:40:57 -08:00
alisdair sullivan
4dcb929491 Merge branch 'fixed_comments' into develop 2013-03-05 19:21:10 -08:00
alisdair sullivan
1bb6822ac2 fix manual incomplete state in done 2013-03-05 19:20:57 -08:00
alisdair sullivan
1398a747de collapse and simplify comment states and move comment errors to error site 2013-03-05 19:19:16 -08:00
alisdair sullivan
d04f231a0e change incomplete from a macro to a proper function 2013-03-05 18:50:00 -08:00
alisdair sullivan
21bdf35ecb add resume/6 function to jsx_decoder and move ?incomplete over to using it, still not ready to be exposed however 2013-03-05 18:21:34 -08:00
alisdair sullivan
b0512add5d inline maybe_replace in decoder 2013-03-05 17:39:29 -08:00
alisdair sullivan
0b3b168cfc style alterations 2013-03-05 17:37:24 -08:00
alisdair sullivan
a5bf353b21 test incremental parsing for jsx_parser and fix bug with naked values 2013-03-05 17:33:48 -08:00
alisdair sullivan
267977bf6e replace <<16#ffff/utf8>> with <<239, 191, 191>> to allow certain tests to run on R14x 2013-03-05 16:36:49 -08:00
alisdair sullivan
f186d0bd9c mark error_handler and incomplete_handler as experimental 2013-03-04 23:54:24 -08:00
alisdair sullivan
c3e0bae38f update README and CHANGES to take error_handler and incomplete_handler into consideration 2013-03-04 23:49:01 -08:00
alisdair sullivan
df04f091f7 change returned config from record to list in error and incomplete handler 2013-03-04 23:48:34 -08:00
alisdair sullivan
2d7b690a91 add incomplete_handler and tests 2013-03-04 23:13:23 -08:00
alisdair sullivan
ca89432e7a extend error_handler to parser 2013-03-04 22:13:52 -08:00
alisdair sullivan
d796dffa05 trap and process string encoding errors properly 2013-03-04 21:51:43 -08:00
alisdair sullivan
da9bf969e2 extend error_handler to encoding 2013-03-04 21:21:45 -08:00
alisdair sullivan
3162891832 change error_handler function signature to /3 from /6 2013-03-04 20:53:03 -08:00
alisdair sullivan
8eb302b45f add tests for repeated keys in jsx_verify 2013-03-04 20:34:04 -08:00
alisdair sullivan
e625c625e0 fix formatting of Configs in function heads 2013-03-04 20:05:30 -08:00
alisdair sullivan
f12b25862d remove unused macros 2013-03-04 20:05:20 -08:00
alisdair sullivan
8f2087976a fold maybe_bom and definitely_bom into start function in decoder 2013-03-04 20:05:03 -08:00
alisdair sullivan
6ec70f8a46 add error_handler option and tests 2013-03-04 17:00:34 -08:00
alisdair sullivan
a854f4ae3c Merge branch 'develop' into error_handler 2013-03-04 16:04:42 -08:00
alisdair sullivan
ffdd0f19c1 remove single line of unreachable code 2013-03-04 16:04:16 -08:00
alisdair sullivan
d0ae8a8fd9 Merge branch 'develop' into error_handler 2013-03-04 16:01:59 -08:00
alisdair sullivan
a771ffc8ae update CHANGES and README to reflect recent changes 2013-03-04 16:01:45 -08:00
alisdair sullivan
f7b9e8066c dirty_strings now behaves as you'd expect in decoder 2013-03-04 15:54:34 -08:00
alisdair sullivan
2df4b17ed1 Merge branch 'develop' into error_handler 2013-03-04 14:52:05 -08:00
alisdair sullivan
05739c7e8d suppress compiler warning about unused assert 2013-03-04 14:51:51 -08:00
alisdair sullivan
f2dc42b7c9 add test for number terminated by comma in object 2013-03-04 14:51:05 -08:00
alisdair sullivan
2f26f2e3e8 more accurate reporting of failed tests 2013-03-04 14:45:08 -08:00
alisdair sullivan
24a3e1c017 add test for badly formed unicode escape sequence 2013-03-04 14:43:56 -08:00
alisdair sullivan
f0a29a988f Merge branch 'develop' into error_handler 2013-03-04 14:40:44 -08:00
alisdair sullivan
f3c62eea5e add more tests for unicode escape sequences in strings and numbers terminated by whitespace 2013-03-04 14:40:07 -08:00
alisdair sullivan
3580bbdeb3 Merge branch 'develop' into error_handler 2013-03-04 14:25:50 -08:00
alisdair sullivan
c733d06acb add test for numbers terminated by whitespace 2013-03-04 14:25:07 -08:00
alisdair sullivan
a76cdf720c add tests for error states 2013-03-04 14:22:25 -08:00
alisdair sullivan
9148c04956 merge develop 2013-03-03 22:32:40 -08:00
alisdair sullivan
17bc86ad60 fill out comment tests for better test coverage 2013-03-03 15:34:45 -08:00
alisdair sullivan
40fd913238 remove escaping of single quotes in strings 2013-03-03 15:27:39 -08:00
alisdair sullivan
89da64168c remove unreachable clause in unescaping step 2013-03-03 15:23:17 -08:00
alisdair sullivan
ae7beffe73 add state names to errors for future use 2013-03-03 15:19:17 -08:00
alisdair sullivan
530e2ff73e alter error macro in prep for custom error handlers 2013-03-03 15:19:16 -08:00
alisdair sullivan
588b5bcd2e remove unreachable clause in string parsing 2013-03-03 15:19:02 -08:00
alisdair sullivan
15863c9904 remove bin_opt_info from compile flags 2013-03-02 15:49:25 -08:00
alisdair sullivan
69b7022e4e restore binary matching optimizations by manually constructing binaries in some error clauses 2013-03-02 15:48:26 -08:00
alisdair sullivan
0014d36114 inline seq functions and replace all stray incidences of unseq'd accumulation 2013-03-02 15:12:29 -08:00
alisdair sullivan
cfbe07ee85 use seq functions for accumulation throughout 2013-03-02 15:01:32 -08:00