Commit 35872fbc authored by Raphael Quinet's avatar Raphael Quinet Committed by Raphaël Quinet
Browse files

Moved the -i flag for lex. Modified the grammar a bit in order to allow

2003-05-26  Raphael Quinet  <quinet@gamers.org>

	* plug-ins/imagemap/Makefile.am: Moved the -i flag for lex.
	* plug-ins/imagemap/imap_csim.y: Modified the grammar a bit in
	order to allow the attribute nohref="nohref".  Fixes the last
	part of bug #87687.
parent 4c070aff
2003-05-26 Raphael Quinet <quinet@gamers.org>
* plug-ins/imagemap/Makefile.am: Moved the -i flag for lex.
* plug-ins/imagemap/imap_csim.y: Modified the grammar a bit in
order to allow the attribute nohref="nohref". Fixes the last
part of bug #87687.
2003-05-26 Michael Natterer <mitch@gimp.org>
 
* app/widgets/gimppaletteeditor.[ch]
......@@ -155,18 +155,18 @@ LDADD = \
## code (cern_, csim_, ncsa_).
## Require flex because the standard lex does not support the -P option.
LEX=flex -i
LEX=flex
YACC=bison -y
imap_cern_lex.c: imap_cern.l
@$(RM) $@
$(LEX) $(LFLAGS) -Pcern_ -t $< > $@
$(LEX) $(LFLAGS) -Pcern_ -i -t $< > $@
imap_csim_lex.c: imap_csim.l
@$(RM) $@
$(LEX) $(LFLAGS) -Pcsim_ -t $< > $@
$(LEX) $(LFLAGS) -Pcsim_ -i -t $< > $@
imap_ncsa_lex.c: imap_ncsa.l
@$(RM) $@
$(LEX) $(LFLAGS) -Pncsa_ -t $< > $@
$(LEX) $(LFLAGS) -Pncsa_ -i -t $< > $@
imap_cern_parse.c: imap_cern.y
$(YACC) $(YFLAGS) -p cern_ $<
......
......@@ -256,7 +256,13 @@ href_tag : HREF '=' STRING
}
;
nohref_tag : NOHREF
nohref_tag : NOHREF optional_value
{
}
;
optional_value : /* Empty */
| '=' STRING
{
}
;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment