Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/parser/diderot.lex
ViewVC logotype

Diff of /branches/vis12/src/compiler/parser/diderot.lex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1981, Fri Jul 27 23:14:13 2012 UTC revision 1982, Fri Jul 27 23:25:05 2012 UTC
# Line 75  Line 75 
75    
76  %states INITIAL STRING COM1 COM2;  %states INITIAL STRING COM1 COM2;
77    
 %let letter = [a-zA-Z];  
78  %let dig = [0-9];  %let dig = [0-9];
79  %let num = {dig}+;  %let num = {dig}+;
80  %let hexdigit = [0-9a-fA-F];  %let hexdigit = [0-9a-fA-F];
81  %let hexnum = "0x"{hexdigit}+;  %let hexnum = "0x"{hexdigit}+;
82    %let greek = [αβγδζηθλμξπρσφψω];
83    %let letter = [a-zA-Z]|{greek};
84  %let idchar = {letter}|{dig}|"_"|"'";  %let idchar = {letter}|{dig}|"_"|"'";
85  %let id = {letter}{idchar}*;  %let id = {letter}{idchar}*;
86  %let ws = " "|[\t\n\v\f\r];  %let ws = " "|[\t\n\v\f\r];

Legend:
Removed from v.1981  
changed lines
  Added in v.1982

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0