Specify literal single quotes in the grammar #115

Closed
curvedmark opened this Issue Sep 6, 2012 · 1 comment

Comments

Projects
None yet
2 participants
%lex
%%

\'      return "'"
<<EOF>> return 'EOF'

/lex

%ebnf

%%

QUOTE:
  '\'' EOF { return $1 }
;

"'", \', '\'' all don't work in the QUOTE rule. Is there anyway to specify a literal single quote in the grammar?

@ghost ghost assigned zaach Sep 10, 2012

Owner

zaach commented Jan 28, 2013

Hm, I no longer see this issue.

@zaach zaach closed this Jan 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment