Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005896OCamlCamlp4public2013-01-19 06:192013-08-19 15:59
Reporterjm 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version4.01.1+devFixed in Version 
Summary0005896: camlp4.macro fails to undefine a macro with an expression
Description% cat t.ml
DEFINE A = B
UNDEF A
% ocamlfind ocamlc -syntax camlp4o -package camlp4.macro t.ml
File "t.ml", line 2, characters 7-8:
Camlp4: Uncaught exception: Delete.Rule_not_found [...]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008777)
hongboz (developer)
2013-01-19 17:19

This is due to the fact that when you insert a grammar dynamically
----
EXTEND Gram
            expr: LEVEL "simple"
              [ [ UIDENT $x$ -> (new reloc _loc)#expr e ]]
            ;
--------------
its internal representation is normalized as 'UIDENT $x'

- Issue History
Date Modified Username Field Change
2013-01-19 06:19 jm New Issue
2013-01-19 10:03 meyer Target Version => 4.00.2+dev
2013-01-19 17:18 hongboz Status new => confirmed
2013-01-19 17:19 hongboz Note Added: 0008777
2013-07-12 09:24 doligez Target Version 4.00.2+dev => 4.01.0+dev
2013-08-19 15:59 doligez Target Version 4.01.0+dev => 4.01.1+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker