~ubuntu-branches/ubuntu/vivid/eclipse-wtp/vivid

« back to all changes in this revision

Viewing changes to .pc/regenerate-xpath2-parser.patch/org.eclipse.wst.xml.xpath2.processor/grammars/xpath.lex

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2013-06-28 08:42:01 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130628084201-houvqyt5uc6a3p27
Tags: 3.5.0-1
* New upstream release.
* Refreshed d/patches:
  - debian-custom-build.patch
  - regenerate-xpath2-parser.patch.
* Add patch for compatibility with rhino 1.7R4.
* Regenerate code from EMF models.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
"::"    { return symbol(XpathSym.COLONCOLON); }
100
100
"@"     { return symbol(XpathSym.AT_SYM); }
101
101
"\.\."  { return symbol(XpathSym.DOTDOT); }
 
102
":="    { return symbol(XpathSym.COLONEQ); }
102
103
":"     { return symbol(XpathSym.COLON); }
103
104
","     { return symbol(XpathSym.COMMA); }
104
105
"\$"    { return symbol(XpathSym.DOLLAR); }
148
149
"for"                           { return symbol(XpathSym.FOR); }
149
150
"in"                            { return symbol(XpathSym.IN); }
150
151
"return"                        { return symbol(XpathSym.RETURN); }
 
152
"let"                           { return symbol(XpathSym.LET); }
151
153
"satisfies"                     { return symbol(XpathSym.SATISFIES); }
152
154
"to"                            { return symbol(XpathSym.TO); }
153
155
"some"                          { return symbol(XpathSym.SOME); }
176
178
                                assert str.length() >= 2;
177
179
                                return symbol(XpathSym.STRING, org.eclipse.wst.xml.xpath2.processor.internal.utils.LiteralUtils.unquote(str)); 
178
180
                        }
179
 
{Digits}                { return symbol(XpathSym.INTEGER, new BigInteger(yytext())); }
 
181
{Digits}                { return symbol(XpathSym.INTEGER, new java.math.BigInteger(yytext())); }
180
182
{DoubleLiteral}         { return symbol(XpathSym.DOUBLE, new Double(yytext())); }
181
 
{DecimalLiteral}        { return symbol(XpathSym.DECIMAL, new BigDecimal(yytext())); }
 
183
{DecimalLiteral}        { return symbol(XpathSym.DECIMAL, new java.math.BigDecimal(yytext())); }
182
184
{NCName}                { return symbol(XpathSym.NCNAME, yytext()); }
183
185
 
184
186