Commit Graph

535 Commits (cd7ce252c6d59a599a23c07c4b6e626af56eaf77)

Author SHA1 Message Date
Nicolas Pouillard 9f3fcc249e [camlp4] Fix a location bug inside quotations (PR#4357).
Take in account the fact that the two first characters of a quotation literal
in the case of "<:" or "<@" are already counted. So decrement by 2 the shifts
made on these locations.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:38:21 +00:00
Nicolas Pouillard af74b19b24 [camlp4] Constrain a little more the printer before a <- or :=.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:35:48 +00:00
Nicolas Pouillard f5a6924be6 [camlp4] [Printers.Ocaml] Protect list items from semicolons (PR#4427).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:34:24 +00:00
Nicolas Pouillard 8d0b054177 [camlp4] More printing fixtures.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:33:31 +00:00
Nicolas Pouillard efc1254793 [camlp4] Use the constraint keyword instead of type in class signatures too (PR#4419).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:32:08 +00:00
Nicolas Pouillard bf56fe7082 [camlp4] Print a break after the unary minus (PR#4417).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:31:31 +00:00
Nicolas Pouillard e3ade8ec81 [camlp4] Parse also <<val mutable virtual id : ty>> (PR#4417).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:37:47 +00:00
Nicolas Pouillard 51285046e8 [camlp4] Add the test case for PR#4337.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:36:17 +00:00
Nicolas Pouillard e4bd83e07f [camlp4] Now supports the useless syntax: <<fun patt when guard -> expr>> (PR#4331).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:34:33 +00:00
Nicolas Pouillard bba53a1bc8 [camlp4] Fix a bug in the printer of negative numeric values (PR#4332).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:32:38 +00:00
Nicolas Pouillard ad0428b1a3 [camlp4] Remove useless code due to inheritance of revised grammar.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:30:39 +00:00
Nicolas Pouillard d766f56732 [camlp4] Add two fixture files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:29:57 +00:00
Nicolas Pouillard c5c1abddb6 [camlp4] Fix Camlp4OCamlRevisedParser.name to "Camlp4OCamlRevisedParser".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:27:22 +00:00
Nicolas Pouillard 9577fdf3d3 [camlp4] Fix a bug in parsing operators (let _ : ty = e) (PR#4312).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:26:32 +00:00
Nicolas Pouillard b2b3f705fd [camlp4] Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:28:47 +00:00
Nicolas Pouillard 255e7082ef [camlp4] Restore the private types support.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 10:39:56 +00:00
Nicolas Pouillard e49b8c08d8 [camlp4] Add an example about the "debug" syntax extension.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:56:01 +00:00
Nicolas Pouillard 09ea000fe0 [camlp4 examples] [ADDED] An example of string based quotation expander (old ExStr).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:18:14 +00:00
Nicolas Pouillard 6e98a45b0c [camlp4] [FIXED] PR#4328
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8560 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:15:48 +00:00
Nicolas Pouillard 40db6ea316 [camlp4] [FIXED] Use numeric also for floats PR#4434.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:14:47 +00:00
Nicolas Pouillard ee21128333 [camlp4] [CHANGED] Rename the intlike printer method by numeric.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:14:05 +00:00
Nicolas Pouillard aeb05b1cb9 [camlp4] Merge 3.10 on trunk for camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:11:24 +00:00
Nicolas Pouillard 8d2296b285 [camlp4] Merge 3.10 on trunk for camlp4/Camlp4/Struct
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:57:54 +00:00
Nicolas Pouillard 94ae0db260 [camlp4] Merge 3.10 on trunk for camlp4/Camlp4/Printers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:53:10 +00:00
Nicolas Pouillard a09267ad74 [camlp4] Merge 3.10 on trunk for camlp4/Camlp4Filters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:51:39 +00:00
Nicolas Pouillard 7d0959ff0d [camlp4] Merge 3.10 on trunk for camlp4/Camlp4Parsers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:51:16 +00:00
Nicolas Pouillard 6568f8eea9 [camlp4] Merge 3.10 on trunk for camlp4/examples
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:50:26 +00:00
Nicolas Pouillard eed14c2980 [camlp4] Merge 3.10 on trunk for camlp4/test
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:49:56 +00:00
Nicolas Pouillard 0e09dcc7f8 [camlp4] [FIXED] Use numeric also for floats PR#4434.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:48:58 +00:00
Nicolas Pouillard 4e37068a21 [camlp4] [CHANGED] Rename the intlike printer method by numeric.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:44:29 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Nicolas Pouillard 02c5e8f314 [camlp4] Add list comprehension PR#4218
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7938 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 15:50:57 +00:00
Nicolas Pouillard 44d339fcd4 [camlp4][original syntax] Fix the usage of polymorphic constructors in a curryfied way
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 15:02:38 +00:00
Nicolas Pouillard 24d08bc045 [camlp4] minor bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7932 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:43:01 +00:00
Nicolas Pouillard aae33d800c [camlp4] Fix the optional bar in polymorphic variants parsing PR#4216
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:39:44 +00:00
Nicolas Pouillard 9286d93c33 [Camlp4] handle externals properly and fix the bootstrap system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:32:47 +00:00
Damien Doligez 64646eff2f cvsignore les nouveaux fichiers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7850 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 15:09:56 +00:00
Nicolas Pouillard 3a67908c91 RE Remove the camlp4/Camlp4/Sig directory
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7841 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-08 16:26:50 +00:00
Damien Doligez 5b52f30e7d deplacement du numero de version -> fichier VERSION a la racine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Nicolas Pouillard 5d2081fc44 A missing file, update .cvsignoreS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 11:41:36 +00:00
Nicolas Pouillard fa5e0979f2 Some renamings, moving, and changements in camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 10:09:29 +00:00
Nicolas Pouillard b100c43753 Add many .mllib .mlpack .clib .dlib files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 09:52:28 +00:00
Nicolas Pouillard 86645badd6 [camlp4]: Fix the bug #4177 (second part)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-29 17:03:35 +00:00
Nicolas Pouillard d66fd147fa [camlp4]: Fix the bug #4177
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7763 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-29 16:50:37 +00:00
Damien Doligez 7f73882272 petit probleme de bootstrap vs. clean
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-24 14:39:26 +00:00
Damien Doligez 9cd54eadce PR#4156 increment AST magic numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 18:55:32 +00:00
Damien Doligez db85ff05ef portabilite de script sed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 14:49:26 +00:00
Nicolas Pouillard e00b58be00 [camlp4] Fix a bug with multiple class parameters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-10 22:32:43 +00:00