Changeset 292454 in webkit for trunk/Source/JavaScriptCore/offlineasm/parser.rb
- Timestamp:
- Apr 6, 2022, 2:04:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/offlineasm/parser.rb
r291142 r292454 853 853 end 854 854 855 def parseIncludes(final, comment )855 def parseIncludes(final, comment, options) 856 856 firstCodeOrigin = @tokens[@idx].codeOrigin 857 857 fileList = [] … … 881 881 fileExists = File.exists?(fileName) 882 882 raise "File not found: #{fileName}" if not fileExists and not isOptional 883 fileList << fileName if fileExists 883 if fileExists 884 parser = Parser.new(readTextFile(fileName), SourceFile.new(fileName), options) 885 fileList << parser.parseIncludes(nil, "", options) 886 end 884 887 else 885 888 @idx += 1 … … 914 917 def parseHash(fileName, options) 915 918 parser = Parser.new(readTextFile(fileName), SourceFile.new(fileName), options) 916 fileList = parser.parseIncludes(nil, "") 919 fileList = parser.parseIncludes(nil, "", options) 920 fileList.flatten! 917 921 fileListHash(fileList) 918 922 end
Note:
See TracChangeset
for help on using the changeset viewer.