mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
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.
This commit is contained in:
parent
4c070aff16
commit
35872fbcbb
|
@ -1,3 +1,10 @@
|
|||
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
|
||||
{
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue