Commit Graph

23 Commits (fef654ed9d5df8031cb3399019ab2d7bc7a3d8c3)

Author SHA1 Message Date
Nicolas Pouillard fef654ed9d Fix problems with True and False with camlp4o
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-19 11:25:14 +00:00
Nicolas Pouillard 07bd556755 Warp "Gram.extend" arguments by ((fun () -> body) ()) to please ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 15:00:09 +00:00
Nicolas Pouillard 93153ce7c0 Fix more things about patterns and add tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 11:58:44 +00:00
Nicolas Pouillard ead1f3e019 Remove support of tuples without parentheses in patterns after "fun" since it si not allowed in OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 08:17:40 +00:00
Nicolas Pouillard 7a27b43fed Rework the camlp4o grammar to be closer to ocaml parser
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 22:31:55 +00:00
Nicolas Pouillard a8c3279ad6 Fix some camlp4o bugs with arity of constructors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:53:30 +00:00
Nicolas Pouillard 5422545d53 Keep the last loc to have a correct loc for subsequent implem or interf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7509 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:18:26 +00:00
Nicolas Pouillard c0868a4cde Where is not a ocaml keyword, and sequence is just a sem_expr
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7496 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-13 09:19:37 +00:00
Nicolas Pouillard 830e61107c Replace some LIDENTs by a_LIDENTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7495 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-12 20:53:37 +00:00
Nicolas Pouillard 229537dc94 Revert the previous patch since arrays also use ExSem so ExSeq is required
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-12 14:23:36 +00:00
Nicolas Pouillard 69acf6021e Suppress the ExSeq AST node
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-12 14:06:59 +00:00
Nicolas Pouillard 44334bfe68 No longer use $opt:x$, but $rec:x$, $virtual:x$. Clearer and less ambiguous. Update antiquotations. Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7488 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 18:10:11 +00:00
Nicolas Pouillard 07c85c604f Fix a bug in parsers syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 12:39:30 +00:00
Nicolas Pouillard 51711de644 Fix pa_o labels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 12:38:38 +00:00
Nicolas Pouillard ef50c2b1c0 Improve the ctyp quotation w.r.t to the "of" node
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-05 11:25:36 +00:00
Nicolas Pouillard b6253d80f7 Fix a bug with non-revised quotations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7463 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-04 11:58:26 +00:00
Nicolas Pouillard c4747cc2c9 Fix a bug in parser priorities
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-04 11:56:20 +00:00
Nicolas Pouillard 1858d90145 Finish the match_case renaming and bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7460 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-30 07:24:45 +00:00
Nicolas Pouillard 2a68675a85 Replace assoc by match_case
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7459 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-30 00:40:58 +00:00
Nicolas Pouillard 4e509164a9 Resurect FOLD[01], fix few bugs, speed up assoc, add a Null printer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7457 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-29 21:51:42 +00:00
Nicolas Pouillard bf3900f07b Move printers code, to make them more accessible. Remove Extfun and Spretty.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7456 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-29 15:01:37 +00:00
Nicolas Pouillard cca14b4205 Speed up some grammar rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-29 12:18:56 +00:00
Nicolas Pouillard e6b3b5b05f Start the merge of the new Camlp4 version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7445 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-29 08:12:46 +00:00