Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e355ee2d
Commit
e355ee2d
authored
Sep 24, 2000
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Filenames may contain '/' and '\'.
Small typo fixes.
parent
fca20f65
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.wrc
tools/wrc/README.wrc
+1
-1
parser.l
tools/wrc/parser.l
+2
-2
No files found.
tools/wrc/README.wrc
View file @
e355ee2d
...
...
@@ -110,7 +110,7 @@ __FILE__ | "..." | Current filename as string
__LINE__ | nnn | Current linenumber as integer
__TIME__ | "23:59:59" | Timestring of compilation
__DATE__ | "May 1 2000" | Datestring of compilation
__WRC__
1 | Wrc's major version
__WRC__
|
1 | Wrc's major version
__WRC_MINOR__ | 1 | Wrc's minor version
__WRC_MICRO__ | 7 | Wrc's minor version
__WRC_PATCH__ | 8 | Alias of __WRC_MICRO__
...
...
tools/wrc/parser.l
View file @
e355ee2d
...
...
@@ -369,7 +369,7 @@ static struct keyword *iskeyword(char *kw)
0[oO][0-7]+[lL]? { yylval.num = strtoul(yytext+2, 0, 8); return toupper(yytext[yyleng-1]) == 'L' ? tLNUMBER : tNUMBER; }
/*
* The next to rules scan identifiers and filenames.
* The next t
w
o rules scan identifiers and filenames.
* This is achieved by using the priority ruling
* of the scanner where a '.' is valid in a filename
* and *only* in a filename. In this case, the second
...
...
@@ -396,7 +396,7 @@ static struct keyword *iskeyword(char *kw)
return tIDENT;
}
}
[A-Za-z_0-9.]+ yylval.str = make_string(yytext); return tFILENAME;
[A-Za-z_0-9.
/\\
]+ yylval.str = make_string(yytext); return tFILENAME;
/*
* Wide string scanning
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment